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:
683db19
)
base/init: mkdir $NEWROOT, if it does not exist
author
Harald Hoyer
<harald@redhat.com>
Thu, 19 May 2011 21:26:06 +0000
(23:26 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Fri, 20 May 2011 13:17:32 +0000
(15:17 +0200)
modules.d/99base/init
patch
|
blob
|
history
diff --git
a/modules.d/99base/init
b/modules.d/99base/init
index
8308502
..
fa54997
100755
(executable)
--- a/
modules.d/99base/init
+++ b/
modules.d/99base/init
@@
-65,6
+65,7
@@
emergency_shell()
}
NEWROOT="/sysroot"
+[ -d $NEWROOT ] || mkdir -p -m 0755 $NEWROOT
trap "emergency_shell Signal caught!" 0
OLDPATH=$PATH