bugGNU GRUB - Bugs: bug #37845, conf.d/20_linux_xen incorrectly...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #37845: conf.d/20_linux_xen incorrectly detects GENKERNEL_ARCH due to unitialized $machine

Submitter:  Eriks Latosheks <foresterlv>
Submitted:  Fri 30 Nov 2012 10:04:53 PM UTC
   
 
Category:  Configuration Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

Tue 11 Dec 2012 04:39:23 PM UTC, comment #1: 

Fixed, thanks.

Vladimir Serbinenko <phcoder>
Group administrator
Fri 30 Nov 2012 10:04:53 PM UTC, original submission:  

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.

Eriks Latosheks <foresterlv>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by phcoder (Posted a comment)
  • -email is unavailable- added by foresterlv (Submitted the item)
  • -email is unavailable- added by foresterlv
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-12-11 phcoder StatusNone Fixed
        Open/ClosedOpen Closed
    2012-11-30 foresterlv Carbon-Copy- Added foresterlv

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code