X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fdistro-install-common%2Flibreboot_grub.cfg;h=5f4d722742a629a4782c30a85eeb402cc3be2a98;hb=119dc2aabd307d4e2288fb4a435b7d323f004e5c;hp=54cf46837a1a109545e8d9d3c183159d2ee89958;hpb=591c84435e22df12f2b5121c08578bff7c6bb047;p=automated-distro-installer diff --git a/fai/config/distro-install-common/libreboot_grub.cfg b/fai/config/distro-install-common/libreboot_grub.cfg index 54cf468..5f4d722 100644 --- a/fai/config/distro-install-common/libreboot_grub.cfg +++ b/fai/config/distro-install-common/libreboot_grub.cfg @@ -14,22 +14,22 @@ function save_chosen { } # fai_check is so we can act like a pxe boot, but just for fai, and by -# using /buster_bootstrap to do it. We toggle on and off the grub var +# using /bookworm_bootstrap to do it. We toggle on and off the grub var # did_fai_check so we can do the check every other boot. Then # /debian_bootstrap checks for that var on boot and if we want to do a # fai check, it does it, then reboots. But fai-check also sets # did_fai_check to a 3rd state os_true which means we did the fai check, # and we don't want to do it again. This is useful for systems without -# libreboot, although it's not used yet. +# libreboot. # We don't set this to fai check so we can't get into # an infinite reboot cycle. We depend on the os to # create the initial grubenv file. -set default=/debianbuster_bootstrap # could use 0 here. +set default=/debianbookworm_bootstrap # could use 0 here. set timeout=1 # grub_extn -for part in (ahci*7) (ata*7); do +for part in (ahci*4) (ata*4); do envfile=$part/grubenv if [ -s $envfile ]; then load_env --file $envfile @@ -44,7 +44,7 @@ done did_fai_check=false -bs_dir=/debianbuster_bootstrap +bs_dir=/debianbookworm_bootstrap menuentry $bs_dir --id=$bs_dir { # note, we might be able to use $chosen and avoid setting this here, # and set it inside save_chosen. but I haven't tested it,