Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 200725

Summary: sys-kernel/genkernel-3.4.9_pre10 typo in gen_initrd.sh and gen_initramfs.sh
Product: Gentoo Hosted Projects Reporter: Laurento Frittella (mrfree) <laurento.frittella>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED FIXED    
Severity: normal CC: glenn.burns, ivan, kanelxake, stack.box
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Laurento Frittella (mrfree) 2007-11-29 08:08:35 UTC
/usr/share/genkernel/gen_initrd.sh (row:219)
/usr/share/genkernel/gen_initramfs.sh (row: 411)

elsif is_static /sbin/cryptsetup 

Instead of:

elif is_static /sbin/cryptsetup
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-29 12:47:26 UTC
Is this causing an error? I double-checked with a couple of bash tutorials that it was 'elsif' before adding this code, because I can never remember if it's elif, elsif, elseif, or 'else if' between the 5 or 6 languages I use regularly.
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-11-29 12:54:27 UTC
Okay, this has been fixed in SVN. I blame the author of this page:

http://www.dcc.unicamp.br/~celio/mc514/bash/bash-tute.html
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-11-30 23:00:36 UTC
*** Bug 200883 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-12-03 19:49:36 UTC
*** Bug 201119 has been marked as a duplicate of this bug. ***
Comment 5 Andrew Gaffney (RETIRED) gentoo-dev 2007-12-06 04:10:26 UTC
This was released in 3.4.9_pre11