Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949285 - sys-kernel/installkernel-51: dracut dependency should be >=104, not 103
Summary: sys-kernel/installkernel-51: dracut dependency should be >=104, not 103
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-04 17:58 UTC by Anna
Modified: 2025-02-04 19:31 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 Anna 2025-02-04 17:58:11 UTC
installkernel-51 dracut hook adds --add-confdir as arguments to dracut, said flag was added on 104, making installkernel-51 + dracut-103 fail to generate the initrd.

Reproducible: Always

Steps to Reproduce:
1. unmask =installkernel-51 but not >=dracut-104
2. attempt to install a dist-kernel (or call emerge --config in one)
Actual Results:  
dracut failed with a getopt error about unknown flag.

Expected Results:  
dracut should generate the initrd.
Comment 1 Larry the Git Cow gentoo-dev 2025-02-04 19:31:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ebd894dd706a43ef2ba471e1fd71293d41041ea

commit 5ebd894dd706a43ef2ba471e1fd71293d41041ea
Author:     Nowa Ammerlaan <nowa@gentoo.org>
AuthorDate: 2025-02-04 19:30:34 +0000
Commit:     Nowa Ammerlaan <nowa@gentoo.org>
CommitDate: 2025-02-04 19:30:34 +0000

    sys-kernel/installkernel: bump dracut requirement
    
    --conf-dir was introduced in 104, but lets bump to 106 so the
    behaviour of +systemd and -systemd is the same
    
    Closes: https://bugs.gentoo.org/949285
    Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>

 .../{installkernel-51.ebuild => installkernel-51-r1.ebuild}             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)