bzip2/lzma: centralize format detection
Centralize the compression format detection to a common routine in the
lib directory, and use it for both initramfs and initrd.
Signed-off-by:
H. Peter Anvin <hpa@zytor.com>
Showing
- include/linux/decompress/generic.h 3 additions, 0 deletionsinclude/linux/decompress/generic.h
- init/do_mounts_rd.c 7 additions, 31 deletionsinit/do_mounts_rd.c
- init/initramfs.c 7 additions, 32 deletionsinit/initramfs.c
- lib/Makefile 5 additions, 4 deletionslib/Makefile
- lib/decompress.c 50 additions, 0 deletionslib/decompress.c
Loading
Please register or sign in to comment