Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924934 - sys-kernel/gentoo-sources needlessly depends on app-alternatives/cpio
Summary: sys-kernel/gentoo-sources needlessly depends on app-alternatives/cpio
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-18 16:24 UTC by stefan11111
Modified: 2024-02-18 21:54 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 stefan11111 2024-02-18 16:24:58 UTC
From my understanding, app-alternatives/cpio is only used with an initramfs.
For use cases without an initramfs, app-alternatives/cpio is not needed.
Comment 1 Eli Schwartz gentoo-dev 2024-02-18 17:08:43 UTC
It is not practical to do this since cpio is on the upstream list of required software for building a kernel -- and for good reason. Depending on your .config, correctly building one of the kernel modules requires cpio -- that kernel module is enabled by default.

It's not possible as far as I know to have BDEPEND be different depending on which specific modules you have enabled in your custom savedconfig or /etc/kernel/config.d fragments :)