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:
3e70a25
)
dracut.sh: use local lsinitrd.sh for "-l"
author
Harald Hoyer
<harald@redhat.com>
Mon, 12 Aug 2013 10:46:03 +0000
(12:46 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 12 Aug 2013 10:46:03 +0000
(12:46 +0200)
dracut.sh
patch
|
blob
|
history
diff --git
a/dracut.sh
b/dracut.sh
index
0b674ae
..
6208c82
100755
(executable)
--- a/
dracut.sh
+++ b/
dracut.sh
@@
-1271,7
+1271,11
@@
mv -- "$outfile.$$" "$outfile"
dinfo "*** Creating image file done ***"
if (( maxloglvl >= 5 )); then
- lsinitrd "$outfile"| ddebug
+ if [[ $allowlocal ]]; then
+ "$dracutbasedir/lsinitrd.sh" "$outfile"| ddebug
+ else
+ lsinitrd "$outfile"| ddebug
+ fi
fi
exit 0