About --- To get this source: apt-get download grub2 This build is no-alt-arch. All of the alternative arch packages were commented out from d/control. The makefile (d/rules) is keyed off the the dh_listpackages. The only other modification was to run the ./bootstrap script by adding 2 lines to the `override_dh_autoreconf` rule in d/rules and remove the qemu depends in d/control. --- snip --- override_dh_autoreconf: mkdir -p debian/stamps rm -rf debian/grub-extras-enabled mkdir debian/grub-extras-enabled set -e; for extra in 915resolution ntldr-img; do \ cp -a debian/grub-extras/$$extra debian/grub-extras-enabled/; \ done env -u DH_OPTIONS GRUB_CONTRIB=$(CURDIR)/debian/grub-extras-enabled \ PYTHON=python3 \ dh_autoreconf -- ./autogen.sh sed -i -e "/^AUTOPOINT=true/i cp -p gnulib/build-aux/config.rpath build-aux" bootstrap # sed -i -e "s|fix-base64||" -e "s|fix-uninit-structure||" -e "s|no-abort||" -e "s|fix-width||" -e "s|fix-null-deref||" bootstrap.conf chmod +x ./bootstrap ./bootstrap --gnulib-srcdir=gnulib --no-git --- snip --- Author --- PryMar56 Nov 2023