[Bug 1175127] Re: grub2 does not propagate variable to submenu

Marcus Tomlinson marcus.tomlinson at canonical.com
Thu Mar 5 13:04:04 UTC 2020


This release of Ubuntu is no longer receiving maintenance updates. If
this is still an issue on a maintained version of Ubuntu please let us
know.

** Changed in: grub2 (Ubuntu)
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1175127

Title:
  grub2 does not propagate variable to submenu

Status in grub2 package in Ubuntu:
  Incomplete

Bug description:
  Problem:

  grub2 does not propagate variables to submenu -> menuentry. My defined variables defined in 40_custom and properly generated into grub.cfg after update-grub are not set up in submenu. Variables have content only on menuentry level but not in submenu. According to manual the content of variables should be propagated into submenu as well. 
     set variable=something  #or/and 
     export variable=something
  Does not work even if they are settled on the beginning of the grub.cfg
  some of the variables defined in 

  
  How to reproduce problem:
  just put some set variable=something in 40_custom , echo variable=$variable in submenu -> menuentry , update-grub and reboot.  (I did not try grub-emu)

  
  apt-cache policy grub2
  grub2:
    Installed: 2.00-13ubuntu3
    Candidate: 2.00-13ubuntu3
    Version table:
   *** 2.00-13ubuntu3 0
          500 http://localhost/ubuntu/ raring/universe amd64 Packages
          500 http://uk.archive.ubuntu.com/ubuntu/ raring/universe amd64 Packages

  
  Description:	Ubuntu 13.04
  Release:	13.04
  Codename:	raring

  
  Kind Regards,
  M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1175127/+subscriptions



More information about the foundations-bugs mailing list