Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173412 - sys-kernel/genkernel-3.4.6 - gen_initrd.sh (with luks) static check fails w/ non-English locale
Summary: sys-kernel/genkernel-3.4.6 - gen_initrd.sh (with luks) static check fails w/ ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
: 182705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-04 23:42 UTC by Peter Hultqvist
Modified: 2007-06-21 00:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Hultqvist 2007-04-04 23:42:04 UTC
/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()
Comment 1 Peter Hultqvist 2007-04-04 23:45:39 UTC
sys-kernel/genkernel
      Latest version available: 3.4.6
      Latest version installed: 3.4.6
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-05 14:25:11 UTC
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.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2007-04-05 15:01:09 UTC
This is fixed in genkernel 3.4.7 which is now in the tree.
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-06-21 00:06:58 UTC
*** Bug 182705 has been marked as a duplicate of this bug. ***