git://git.onelab.eu
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd6c56
)
Create /var/lib/{rpm,yum} to make f7 version of yum happy.
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 15 Oct 2007 13:54:06 +0000
(13:54 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Mon, 15 Oct 2007 13:54:06 +0000
(13:54 +0000)
mkfedora
patch
|
blob
|
history
diff --git
a/mkfedora
b/mkfedora
index
c3ba05f
..
46cb222
100755
(executable)
--- a/
mkfedora
+++ b/
mkfedora
@@
-209,6
+209,12
@@
cleanup ()
# Clean up before exiting if anything goes wrong
trap "cleanup" ERR INT
+# Create a /var/lib dirs for yum & rpm
+mkdir -p $vroot/var/lib/yum
+mkdir -p $vroot/var/lib/rpm
+
+
+
# Create a dummy /etc/fstab in reference image
mkdir -p $vroot/etc
cat >$vroot/etc/fstab <<EOF