git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94b95dc
)
Create /tmp directory in the initramfs.
author
Richard Jones
<rjones@redhat.com>
Wed, 22 Apr 2009 09:20:48 +0000
(10:20 +0100)
committer
Richard Jones
<rjones@redhat.com>
Wed, 22 Apr 2009 09:20:48 +0000
(10:20 +0100)
make-initramfs.sh.in
patch
|
blob
|
history
diff --git
a/make-initramfs.sh.in
b/make-initramfs.sh.in
index
952ccfa
..
6ff6e69
100755
(executable)
--- a/
make-initramfs.sh.in
+++ b/
make-initramfs.sh.in
@@
-45,6
+45,10
@@
rm -f $koutput
# /sysroot is where the guest root filesystem will be mounted.
mkdir initramfs/sysroot
+# Create /tmp if it is missing.
+mkdir -p initramfs/tmp
+@FEBOOTSTRAP_RUN@ initramfs -- chmod 0777 /tmp
+
# Make a safe 'install_file' function to install files into the
# filesystem. XXX We need a 'febootstrap-install' utility.
# Usage: install_file <local-file> <target-pathname> mode owner[.group]