diff options
author | Harald Hoyer <harald@redhat.com> | 2013-08-12 12:46:03 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-08-12 12:46:03 +0200 |
commit | dadd2b698ef7d0c069dce58ccad5543337b007c9 (patch) | |
tree | f2ba52400ca3013b3e75e385418a0f60b8d2be72 | |
parent | 3e70a25bcf2fb49fbc81d110d3186bddf4f81ad0 (diff) | |
download | dracut-dadd2b698ef7d0c069dce58ccad5543337b007c9.tar.gz dracut-dadd2b698ef7d0c069dce58ccad5543337b007c9.tar.bz2 dracut-dadd2b698ef7d0c069dce58ccad5543337b007c9.zip |
dracut.sh: use local lsinitrd.sh for "-l"
-rwxr-xr-x | dracut.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |