projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324be70
)
lsinitrd: support symlinks
author
Nikoli
<nikoli@lavabit.com>
Tue, 17 Apr 2012 09:31:27 +0000
(11:31 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Tue, 17 Apr 2012 09:54:27 +0000
(11:54 +0200)
lsinitrd.sh
patch
|
blob
|
history
diff --git
a/lsinitrd.sh
b/lsinitrd.sh
index
1eaa37d
..
e6767dc
100755
(executable)
--- a/
lsinitrd.sh
+++ b/
lsinitrd.sh
@@
-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"