Doing uuid.conf extraction from initrd with the correct decompression utility (Closes: #637979).
This commit is contained in:
parent
ef53525970
commit
dfaa4a67b5
|
@ -91,7 +91,19 @@ case "${LB_INITRAMFS}" in
|
|||
mkdir -p binary/uuid
|
||||
cd binary/uuid
|
||||
|
||||
zcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
|
||||
case "${LB_INITRAMFS_COMPRESSION}" in
|
||||
gzip)
|
||||
zcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
|
||||
;;
|
||||
|
||||
bzip2)
|
||||
bzcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
|
||||
;;
|
||||
|
||||
lzma)
|
||||
lzcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -e conf/uuid.conf ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue