Browse Source

lsinitrd: support symlinks

master
Nikoli 12 years ago committed by Harald Hoyer
parent
commit
25ff71b0c7
  1. 2
      lsinitrd.sh

2
lsinitrd.sh

@ -34,7 +34,7 @@ image="${1:-/boot/initramfs-$(uname -r).img}" @@ -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"

Loading…
Cancel
Save