Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523512 - sys-kernel/genkernel-next - prompt_user should let user enter "shell"
Summary: sys-kernel/genkernel-next - prompt_user should let user enter "shell"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-23 09:17 UTC by Yixun Lan
Modified: 2016-05-29 15:16 UTC (History)
3 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 Yixun Lan archtester gentoo-dev 2014-09-23 09:17:04 UTC
snip of this code, 

/etc/initrd.d/00-splash.sh

    [ $# != 2 -a $# != 3 ] && \
        bad_msg "Bad invocation of function prompt_user."
        bad_msg "Please file a bug report with this message" && exit 1 (this line got always run, so never let user enter shell)

should change to ->> 

    if [ $# != 2 -a $# != 3 ]; then
        bad_msg "Bad invocation of function prompt_user."
        bad_msg "Please file a bug report with this message"
        exit 1
    fi



Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2016-05-23 15:02:21 UTC
Try to report it to upstream please and post the link here:
https://github.com/Sabayon/genkernel-next/issues
Comment 2 Ettore Di Giacinto (RETIRED) gentoo-dev 2016-05-29 15:16:16 UTC
We can close this bug, it is solved by https://github.com/Sabayon/genkernel-next/commit/f3cff8d9fbf7e812b018f8d698639fe46c9baa3c since v60