|
| From: | Eriks Latosheks |
| Subject: | [bug #37845] conf.d/20_linux_xen incorrectly detects GENKERNEL_ARCH due to unitialized $machine |
| Date: | Fri, 30 Nov 2012 22:04:55 +0000 |
| User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.91 Safari/537.11 |
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 Thread] | Current Thread | [Next in Thread] |