summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2013-06-02 18:53:25 -0400
committerColin Walters <walters@verbum.org>2013-06-02 18:53:25 -0400
commit462b8cbadc03c245e1c04f215359f0e637633f72 (patch)
tree109b65efae39286a10f404ba8b3417578370388a
parent8e6fe23c1e26bcc1e3d8cb15b9d57c73018b1a4d (diff)
downloadfedora-ostree-462b8cbadc03c245e1c04f215359f0e637633f72.tar.gz
fedora-ostree-462b8cbadc03c245e1c04f215359f0e637633f72.tar.xz
fedora-ostree-462b8cbadc03c245e1c04f215359f0e637633f72.zip
Add /sysroot and /ostree to toplevels
-rwxr-xr-xmake-fedora-ostree-tarball5
1 files changed, 5 insertions, 0 deletions
diff --git a/make-fedora-ostree-tarball b/make-fedora-ostree-tarball
index c41b810..2d09e32 100755
--- a/make-fedora-ostree-tarball
+++ b/make-fedora-ostree-tarball
@@ -29,6 +29,11 @@ fi
# security on OSTree repositories, so make everything at least
# readable.
chmod -R u+rw,go+r ${root}
+
+# These two bits are expected to be visible at the OS/ by OSTree.
+mkdir -p ${root}/sysroot
+ln -s sysroot/ostree ${root}/ostree
+
rm ${root}/var/lib/yum/* -rf
rm ${root}/var/cache/yum/* -rf
rm ${root}/var/log/* -rf