Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 696056 - sys-kernel/genkernel: with --strip argument: parse_opt: command not found
Summary: sys-kernel/genkernel: with --strip argument: parse_opt: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-02 11:18 UTC by Agostino Sarubbo
Modified: 2019-10-02 22:45 UTC (History)
0 users

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 Agostino Sarubbo gentoo-dev 2019-10-02 11:18:31 UTC
$ genkernel --kernel-config=/root/config --no-mrproper --makeopts=-j1 all --strip=all                                   
/usr/share/genkernel/gen_cmdline.sh: line 693: parse_opt: command not found


In gen_cmdline.sh at line 693 I have:
CMD_STRIP_TYPE=`parse_opt "$*"`
but there is not function with that name

Reproducible with --strip=all
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2019-10-02 11:25:57 UTC
Error still present in git master.
Comment 2 Larry the Git Cow gentoo-dev 2019-10-02 22:45:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=17e112fcedaa5bd5f5c5a8e573bd3fe8dc08879d

commit 17e112fcedaa5bd5f5c5a8e573bd3fe8dc08879d
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2019-10-02 12:30:18 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2019-10-02 12:30:18 +0000

    gen_cmdline.sh: parse_cmdline(): Fix --strip argument parsing
    
    Closes: https://bugs.gentoo.org/696056
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 gen_cmdline.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)