lsinitrd: support symlinks

master
Nikoli 2012-04-17 11:31:27 +02:00 committed by Harald Hoyer
parent 324be70f80
commit 25ff71b0c7
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}"
[[ -f "$image" ]] || { echo "$image does not exist" ; exit 1 ; }

CAT=zcat
FILE_T=$(file "$image")
FILE_T=$(file --dereference "$image")

if echo "test"|xz|xz -dc --single-stream >/dev/null 2>&1; then
XZ_SINGLE_STREAM="--single-stream"