From 14e1526457df9992bc3fb665464e5d4e7b6a6bad Mon Sep 17 00:00:00 2001 From: Eric MacDonald Date: Fri, 10 Jun 2022 20:08:22 +0000 Subject: [PATCH] Debian: Add controller-0 install grub menus and tool to ISO This update adds the controller-0 install grub menus and pxeboot setup script to the iso. Packaging these files and script in the ISO's pxeboot directory makes it easier for system administrators to setup the BIOS and UEFI pxeboot grub menus for controller-0 system type specific installs. Test Plan: PASS: Verify menus, tool and readme file are installed in the ISO at /pxeboot/samples. Also, refer to test plan in depends-on update. Depends-On: https://review.opendev.org/c/starlingx/metal/+/844892 Story: 2009301 Task: 45547 Signed-off-by: Eric MacDonald Change-Id: I9aaa12a409d480f821a5635a3db3ec95461e6aea --- .../config/debian/common/base-bullseye.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/debian-mirror-tools/config/debian/common/base-bullseye.yaml b/debian-mirror-tools/config/debian/common/base-bullseye.yaml index b2195cffa..edd480cb3 100644 --- a/debian-mirror-tools/config/debian/common/base-bullseye.yaml +++ b/debian-mirror-tools/config/debian/common/base-bullseye.yaml @@ -297,6 +297,14 @@ iso-post-script: | --passphrase-fd 0 \ EFI/BOOT/grub.cfg fi + + # Put the controller-0 pxeboot install grub menu samples and + # setup script into a new the ISO's pxeboot/samples directory. + install -v -d -m 0755 pxeboot/samples + install -m 0555 ${IMAGE_ROOTFS}/usr/sbin/pxeboot_setup.sh pxeboot/samples + echo "See pxeboot_setup.sh --help for usage details" > pxeboot/samples/README + install -m 0664 ${IMAGE_ROOTFS}/var/pxeboot/pxelinux.cfg.files/pxeboot.cfg.debian pxeboot/samples + install -m 0664 ${IMAGE_ROOTFS}/var/pxeboot/pxelinux.cfg.files/efi-pxeboot.cfg.debian pxeboot/samples multiple-kernels: vmlinuz-*[!t]-amd64 vmlinuz-*-rt-amd64 default-kernel: vmlinuz-*[!t]-amd64 system: