X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=fai%2Fconfig%2Ffiles%2Froot%2Ffai-check%2FVOL_BULLSEYE_BOOTSTRAP;fp=fai%2Fconfig%2Ffiles%2Froot%2Ffai-check%2FVOL_BUSTER_BOOTSTRAP;h=330efcc85c8cc4a812fd5859dfb3149a75155266;hp=900c719183cab428f5461e389661f9ea56a5b6a4;hb=f67d4b719356595b424aa3cd358abc79426583c5;hpb=591c84435e22df12f2b5121c08578bff7c6bb047 diff --git a/fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP b/fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP similarity index 94% rename from fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP rename to fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP index 900c719..330efcc 100755 --- a/fai/config/files/root/fai-check/VOL_BUSTER_BOOTSTRAP +++ b/fai/config/files/root/fai-check/VOL_BULLSEYE_BOOTSTRAP @@ -70,7 +70,7 @@ for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \ set +x fi first=false - # we could just as well check if last_boot != /debianbuster_boostrap + # we could just as well check if last_boot != /debianbullseye_bootstrap # the intent with this one is just a little clearer. if [[ $did_fai_check == true ]]; then grub-editenv /mnt/grubenv set did_fai_check=os_true @@ -92,7 +92,7 @@ for dev in $(btrfs fi show / | sed -rn 's#^\s*devid\s.*\s([^0-9 ]+)\S+$#\1#p' \ done # the check for last_boot is not needed afaik, just sanity check. -if [[ $did_fai_check == true && $last_boot != /debianbuster_boostrap ]]; then +if [[ $did_fai_check == true && $last_boot != /debianbullseye_bootstrap ]]; then # no need to reboot if we actually want to boot into this os. reboot fi