Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 602768 - sys-kernel/genkernel-3.5.0.6 breaks initramfs by disabling required kernel options
Summary: sys-kernel/genkernel-3.5.0.6 breaks initramfs by disabling required kernel op...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-15 16:05 UTC by D. Danner
Modified: 2017-01-02 22:27 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 D. Danner 2016-12-15 16:05:49 UTC
When building an initramfs, genkernel-3.5.0.6 wrongly modifies the kernel
configuration, resulting in a non-bootable initramfs in specific cases.

For example, setting CONFIG_BLK_DEV_DM=y gets reverted to =m by genkernel if
LVM support is requested in genkernel.conf. In case module copying is not
enabled, the initramfs will end up without any LVM support and
probably won't boot.

Other options are affected as well.

This seems to have been introduced in 3.5.0.1 by commit f9324a84, when the sed
command was changed so that settings are forced to =m even if they're already
enabled.