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

 
 

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

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

Submitted by:  Eriks Latosheks <foresterlv>
Submitted on:  Fri 30 Nov 2012 10:04:53 PM UTC  
 
Category: ConfigurationSeverity: Major
Priority: 5 - NormalItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

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

Fixed, thanks.

Vladimir Serbinenko <phcoder>
Project 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Dec 2012 04:39:23 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Fri 30 Nov 2012 10:04:53 PM UTCforesterlvCarbon-Copy-=>Added foresterlv

    Back to the top


    Powered by Savane 3.1-cleanup