From: Paul Hänsch Date: Mon, 25 Aug 2025 09:07:13 +0000 (+0200) Subject: add installer to boot menu X-Git-Url: http://git.plutz.net/?a=commitdiff_plain;h=df17f6003ed2595c7218522f6ed1110c7a43f43f;p=blast add installer to boot menu --- diff --git a/Makefile b/Makefile index b0610ec..2c0cfa2 100644 --- a/Makefile +++ b/Makefile @@ -152,7 +152,9 @@ else ifdef raspi deb http://archive.raspberrypi.org/debian ${release} main endef - PACKAGES += firmware-brcm80211 libraspberrypi-bin libraspberrypi0 pi-bluetooth raspberrypi-bootloader raspberrypi-kernel initramfs-tools + # PACKAGES += firmware-brcm80211 libraspberrypi-bin libraspberrypi0 pi-bluetooth raspberrypi-bootloader raspberrypi-kernel initramfs-tools + PACKAGES += firmware-brcm80211 pi-bluetooth initramfs-tools e2fsprogs + PACKAGES += linux-image-rpi-v7 raspberrypi-bootloader-nokernel _target: _umount _config @@ -387,7 +389,9 @@ _bootloader_iso: ${CFGROOT} ${ISOROOT} >"$${ISOROOT}/boot/grub/grub.cfg" printf '%s\n' "set timeout=10" "default=${release}" \ "menuentry 'Debian ${release}' --id '${release}' {" \ - "linux '/vmlinuz' boot=live" "initrd '/initrd.img'" "}" \ + "linux '/vmlinuz' boot=live modprobe.blacklist=nbd" "initrd '/initrd.img'" "}" \ + "menuentry 'Install Debian ${release}' --id 'installer' {" \ + "linux '/vmlinuz'" "initrd '/install/gtk/initrd.gz'" "}" \ >>"$${ISOROOT}/boot/grub/grub.cfg" -[ -f "$${ISOROOT}/install/initrd.gz" -a -f "$${ISOROOT}/install/linux" ] && \ printf '%s\n' "menuentry 'Install Debian' --id 'install' {" \