Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200725 - sys-kernel/genkernel-3.4.9_pre10 typo in gen_initrd.sh and gen_initramfs.sh
Summary: sys-kernel/genkernel-3.4.9_pre10 typo in gen_initrd.sh and gen_initramfs.sh
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
: 200883 201119 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-29 08:08 UTC by Laurento Frittella (mrfree)
Modified: 2007-12-06 04:10 UTC (History)
4 users (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 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