diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-12-29 04:57:58 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-12-29 04:57:58 +0100 |
commit | 53161dfada35f9d5a766a74413341c69cde0a67a (patch) | |
tree | c3a119051283ce83076aea730c4defaf4997912a /gen_configkernel.sh | |
parent | genkernel.conf: Fix spelling (diff) | |
download | genkernel-53161dfada35f9d5a766a74413341c69cde0a67a.tar.gz genkernel-53161dfada35f9d5a766a74413341c69cde0a67a.tar.bz2 genkernel-53161dfada35f9d5a766a74413341c69cde0a67a.zip |
gen_initramfs.sh: create_initramfs(): Fix integrated initramfs creation
- CONFIG_INITRAMFS_SOURCE value must be quoted.
- CONFIG_INITRAMFS_COMPRESSION_* is only available in >=linux-4.10.
- Use CONFIG_RD_* for <linux-4.10. But make sure that only option for
selected compression type is set and every other type is disabled.
Otherwise, last set compression type would be used all the time,
see $KERNEL_DIR/usr/Makefile for details.
- Add sanity check which checks for integrated initramfs.
Bug: https://bugs.gentoo.org/703826
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_configkernel.sh')
0 files changed, 0 insertions, 0 deletions