Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/modules/base/preimage.90.core.sh
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2009-12-22 14:05:46 (GMT)
committer Daniel Drake <dsd@laptop.org>2009-12-22 14:15:21 (GMT)
commitb997a15c5c5d65478dd9b6f280e85edf2479e941 (patch)
tree02b4b5f4607d606c6d772789005de1d247a86915 /modules/base/preimage.90.core.sh
parent6e12ec5e08d4e45816429158c8ce337cc09117ca (diff)
Clean /selinux directory
Diffstat (limited to 'modules/base/preimage.90.core.sh')
-rw-r--r--modules/base/preimage.90.core.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/base/preimage.90.core.sh b/modules/base/preimage.90.core.sh
index 8b24dee..7a1eb6b 100644
--- a/modules/base/preimage.90.core.sh
+++ b/modules/base/preimage.90.core.sh
@@ -67,6 +67,10 @@ into the real boot area, e.g.:
# cp -a /boot/* /versions/boot/current/boot/
EOF
+# image-creator seems to conditionally create and populate this directory
+# based on the setup of the host computer. let's make it consistent,
+# we aren't using selinux...
+rm -rf $fsmount/selinux
# normalize modification times of all files for faster updates (#4259)
# note that python needs special consideration here: the mtime is encoded