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:
5db7340
)
derror if we can't install switch_root
author
Harald Hoyer
<harald@redhat.com>
Thu, 2 Jul 2009 09:38:37 +0000
(11:38 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Thu, 2 Jul 2009 09:47:27 +0000
(11:47 +0200)
modules.d/99base/install
patch
|
blob
|
history
diff --git
a/modules.d/99base/install
b/modules.d/99base/install
index 01ad771eeca8fff8a28fac44392ddf4d72ced93b..b233f97172f60d74ca83bbd9ee6154af4a6b4af0 100755
(executable)
--- a/
modules.d/99base/install
+++ b/
modules.d/99base/install
@@
-10,7
+10,8
@@
inst "$moddir/init" "/init"
if which switch_root >/dev/null 2>&1; then
dracut_install switch_root
else
- inst "$moddir/switch_root" "/sbin/switch_root"
+ inst "$moddir/switch_root" "/sbin/switch_root" \
+ || derror "Failed to install switch_root"
fi
inst "$moddir/dracut-lib.sh" "/lib/dracut-lib.sh"
inst_hook cmdline 10 "$moddir/parse-root-opts.sh"