summaryrefslogtreecommitdiff
path: root/lib/decompress.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-20bzip2/lzma: don't stop search at first unconfigured compressionAlain Knaff1-1/+1
Impact: Bugfix, avoids kernels which build but panic on boot Fix a bug in decompress.c : only scanned until the first non-configured compressor (with disastrous result especially if that was gzip.) Signed-off-by: Alain Knaff <alain@knaff.lu> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2009-01-13bzip2/lzma: comprehensible error messages for missing decompressorH. Peter Anvin1-6/+10
Instead of failing to identify a compressed image with a decompressor that we don't have compiled in, identify it and fail with a comprehensible panic message. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2009-01-09bzip2/lzma: centralize format detectionH. Peter Anvin1-0/+50
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>