[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grub-bug
Subject:    [bug #37845] conf.d/20_linux_xen incorrectly detects GENKERNEL_ARCH due to unitialized $machine
From:       Eriks Latosheks <INVALID.NOREPLY () gnu ! org>
Date:       2012-11-30 22:04:55
Message-ID: 20121130-220454.sv89888.69240 () savannah ! gnu ! org
[Download RAW message or body]

URL:
  <http://savannah.gnu.org/bugs/?37845>

                 Summary: conf.d/20_linux_xen incorrectly detects
GENKERNEL_ARCH due to unitialized $machine
                 Project: GNU GRUB
            Submitted by: foresterlv
            Submitted on: Fri 30 Nov 2012 10:04:53 PM GMT
                Category: Configuration
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

It seems that 20_linux_xen have broken support for detecting genkernel initrd
images with name including arch, i.e.
initramfs-genkernel-x86_64-3.5.7-gentoo-xen. GENKERNEL_ARCH variable is not
initialized properly because $machine is not loaded. 

The fix is to add 
>> machine=`uname -m`
just before 
>> case "$machine" in
as in conf.d/10_linux so that variable is properly initialized thus allowing
GENKERNEL_ARCH to be initialized later.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37845>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic