|
|
@ -36,7 +36,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}" |
|
|
|
CAT=zcat |
|
|
|
CAT=zcat |
|
|
|
FILE_T=$(file "$image") |
|
|
|
FILE_T=$(file "$image") |
|
|
|
|
|
|
|
|
|
|
|
if echo "test"|xz|xz -dc --single-stream; then |
|
|
|
if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then |
|
|
|
XZ_SINGLE_STREAM="--single-stream" |
|
|
|
XZ_SINGLE_STREAM="--single-stream" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|