bug-grub
[Top][All Lists]
Advanced

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

[bug #56070] Allow environmental access to all variables


From: INVALID.NOREPLY
Subject: [bug #56070] Allow environmental access to all variables
Date: Thu, 4 Apr 2019 00:34:25 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]