Bug 173412 - sys-kernel/genkernel-3.4.6 - gen_initrd.sh (with luks) static check fails w/ non-English locale
|
Bug#:
173412
|
Product: Gentoo Hosted Projects
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: genkernel@gentoo.org
|
Reported By: gentoo@endnode.se
|
|
Component: genkernel
|
|
|
URL:
|
|
Summary: sys-kernel/genkernel-3.4.6 - gen_initrd.sh (with luks) static check fails w/ non-English locale
|
|
Keywords: InSVN
|
|
Status Whiteboard:
|
|
Opened: 2007-04-04 23:42 0000
|
/usr/shar/genkernel/gen_initrd.sh
function: is_static:
Quote: objdump -T $1 2>&1 | grep "not a dynamic object" > /dev/null
Hardcoded check against english message.
This fail when the system returns other than english messages.
In swedish the message is: "inte ett dynamiskt objekt"
And thus the static check fails.
Reproducible: Always
Steps to Reproduce:
Set system messages to other language than english.
LANG=sv_SE.UTF-8
In /etc/genkernel.conf set:
LUKS="yes"
genkernel initrd
Actual Results:
* LUKS support requires static cryptsetup at /bin/cryptsetup
* Not including LUKS support
Expected Results:
Inlcuded the static cryptsetup
Use a non language senitive check method in is_static()
sys-kernel/genkernel
Latest version available: 3.4.6
Latest version installed: 3.4.6
OK. I think I have this fixed. I force the command to use English, though I
was unable to duplicate this myself, probably because I use English everything
by default.
This is fixed in genkernel 3.4.7 which is now in the tree.
*** Bug 182705 has been marked as a duplicate of this bug. ***