URL:
  <https://savannah.gnu.org/bugs/?56070>

                 Summary: Allow environmental access to all variables
                 Project: GNU GRUB
            Submitted by: jidanni
            Submitted on: Thu 04 Apr 2019 04:34:23 AM UTC
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: 2.02~rc1
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

In e,g,, /etc/grub.d/10_linux

with lines like

ubuntu_recovery="0"


instead of

: ${ubuntu_recovery="0"}

and

if [ -x /lib/recovery-mode/recovery-menu ]; then
    GRUB_CMDLINE_LINUX_RECOVERY=recovery
else
    GRUB_CMDLINE_LINUX_RECOVERY=single
fi

instead of

if [ -x /lib/recovery-mode/recovery-menu ]; then
    GRUB_CMDLINE_LINUX_RECOVERY="recovery $GRUB_CMDLINE_LINUX_RECOVERY"
else
    GRUB_CMDLINE_LINUX_RECOVERY="single $GRUB_CMDLINE_LINUX_RECOVERY"
fi

at

if [ "$ubuntu_recovery" = 1 ]; then
    GRUB_CMDLINE_LINUX_RECOVERY="$GRUB_CMDLINE_LINUX_RECOVERY nomodeset"
fi

it's no wonder users have no simple way of adding nomodeset themselves,
from the environment, without editing the file.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56070>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to