Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922772 - sys-kernel/installkernel must not require dracut by default
Summary: sys-kernel/installkernel must not require dracut by default
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on: 922811
Blocks:
  Show dependency tree
 
Reported: 2024-01-23 11:49 UTC by Spica
Modified: 2024-01-24 14:39 UTC (History)
1 user (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 Spica 2024-01-23 11:49:23 UTC
Consumers of gentoo-sources observe 
[code]/usr/src/linux # make install
  INSTALL /boot
run-parts: executing /etc/kernel/preinst.d/50-dracut.install 6.6.13-gentoo arch/x86/boot/bzImage
 * dracut is not installed [/code]

The file belongs to
[code]$ equery b /etc/kernel/preinst.d/50-dracut.install
 * Searching for /etc/kernel/preinst.d/50-dracut.install ... 
sys-kernel/installkernel-12 (/etc/kernel/preinst.d/50-dracut.install)[/code]

[code] $ grep IUSE /var/db/repos/gentoo/sys-kernel/installkernel/installkernel-12.ebuild 
IUSE="+dracut grub uki ukify"[/code]

The message confuses those ones who does not have dracut installed, possibly making an erroneous conclusion about the need to install it. It looks like the dracut flag by default must not be enabled.


Reproducible: Always
Comment 1 Nowa Ammerlaan gentoo-dev 2024-01-23 16:44:07 UTC
This will be resolved once the merger of installkernel-gentoo and installkernel-systemd is complete. The enabling of dracut by default was required by Bug 917145
Comment 2 Larry the Git Cow gentoo-dev 2024-01-24 14:39:50 UTC
The bug has been closed via the following commit(s):

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

commit dd777824a5523f812a7fd267ae474320be536411
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-01-24 14:38:26 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-01-24 14:38:26 +0000

    sys-kernel/installkernel: drop default +dracut
    
    This is now possible due to the last-rites of
    installkernel-systemd
    
    Closes: https://bugs.gentoo.org/922772
    Bug: https://bugs.gentoo.org/917145
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sys-kernel/installkernel/installkernel-12.ebuild    | 2 +-
 sys-kernel/installkernel/installkernel-15-r1.ebuild | 2 +-
 sys-kernel/installkernel/installkernel-17.ebuild    | 2 +-
 sys-kernel/installkernel/installkernel-18.ebuild    | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)