First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 173412
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Genkernel Maintainers <genkernel@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Hultqvist <banana@shell.linux.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 173412 depends on: Show dependency tree
Show dependency graph
Bug 173412 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   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()

------- Comment #1 From Peter Hultqvist 2007-04-04 23:45:39 0000 -------
sys-kernel/genkernel
      Latest version available: 3.4.6
      Latest version installed: 3.4.6

------- Comment #2 From Chris Gianelloni 2007-04-05 14:25:11 0000 -------
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 From Chris Gianelloni 2007-04-05 15:01:09 0000 -------
This is fixed in genkernel 3.4.7 which is now in the tree.

------- Comment #4 From Chris Gianelloni 2007-06-21 00:06:58 0000 -------
*** Bug 182705 has been marked as a duplicate of this bug. ***

First Last Prev Next    No search results available      Search page      Enter new bug