bzip2/lzma: fix built-in initramfs vs CONFIG_RD_GZIP
Impact: Resolves build failures in some configurations Makes it possible to disable CONFIG_RD_GZIP . In that case, the built-in initramfs will be compressed by whatever compressor is available (bzip2 or lzma) or left uncompressed if none is available. It also removes a couple of warnings which occur when no ramdisk compression at all is chosen. It also restores the select ZLIB_INFLATE in drivers/block/Kconfig which somehow came missing. This is needed to activate compilation of the stuff in zlib_deflate. Signed-off-by:Alain Knaff <alain@knaff.lu> Signed-off-by:
H. Peter Anvin <hpa@zytor.com>
Showing
- init/initramfs.c 6 additions, 1 deletioninit/initramfs.c
- scripts/gen_initramfs_list.sh 11 additions, 6 deletionsscripts/gen_initramfs_list.sh
- usr/Makefile 30 additions, 12 deletionsusr/Makefile
- usr/initramfs_data.S 1 addition, 1 deletionusr/initramfs_data.S
- usr/initramfs_data.bz2.S 29 additions, 0 deletionsusr/initramfs_data.bz2.S
- usr/initramfs_data.gz.S 29 additions, 0 deletionsusr/initramfs_data.gz.S
- usr/initramfs_data.lzma.S 29 additions, 0 deletionsusr/initramfs_data.lzma.S
Loading
Please register or sign in to comment