[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#789798: grub-installer: add option to _not_ install to UEFI boot order



On Wed, 2015-06-24 at 16:02 +0100, Ian Campbell wrote:
> +                # Should we avoid installing/registering GRUB in NVRAM?
> +               db_input low grub-installer/no-nvram || [ $? -eq 30 ]
> +               db_go || exit 10
> +               db_get grub-installer/no-nvram
> +               if [ "$RET" = true ]; then
> +                       grub_install_params="$grub_install_params --no-nvram"
> +                       # Make sure this happens on upgrades too
> +                       $chroot $ROOT 'debconf-set-selections' <<EOF
> +grub-installer/no-nvram boolean true
> +EOF
> +               fi

Reminder to self:

As it stands this last bit is bogus. I need to arrange for there to be a
similar grub2/no-nvram question in grub itself and set that here not the
grub-installer one.

Ian.


Reply to: