[Merge] ~ikapelyukhin/livecd-rootfs/+git/livecd-rootfs:master-unset-initrdless-boot-fallback into livecd-rootfs:ubuntu/master

Ivan Kapelyukhin mp+415413 at code.launchpad.net
Fri Feb 11 11:08:38 UTC 2022



Diff comments:

> diff --git a/live-build/functions b/live-build/functions
> index 3d01b0e..2825687 100644
> --- a/live-build/functions
> +++ b/live-build/functions
> @@ -1141,7 +1141,7 @@ if [ -n "${have_grubenv}" ]; then
>    if [ -n "${initrdfail}" ]; then
>      set initrdless_boot_fallback_triggered="${initrdfail}"
>    else
> -    set initrdless_boot_fallback_triggered=0
> +    unset initrdless_boot_fallback_triggered
>    fi
>    save_env initrdless_boot_fallback_triggered

`save_env` has to be called after unsetting the variable, otherwise the change won't be saved to /boot/grub/grubenv and value prior to unsetting it will remain.

>  fi


-- 
https://code.launchpad.net/~ikapelyukhin/livecd-rootfs/+git/livecd-rootfs/+merge/415413
Your team Ubuntu Core Development Team is requested to review the proposed merge of ~ikapelyukhin/livecd-rootfs/+git/livecd-rootfs:master-unset-initrdless-boot-fallback into livecd-rootfs:ubuntu/master.




More information about the Ubuntu-reviews mailing list