config/livecd-fedora-base-desktop.ks | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 924dbb6c54e85d26b333be4740c8f96d0f715a4a
Author: Jeremy Katz <katzj(a)redhat.com>
Date: Thu Jun 5 12:48:26 2008 -0400
Ensure that tmpfs dirs are labeled correctly
diff --git a/config/livecd-fedora-base-desktop.ks b/config/livecd-fedora-base-desktop.ks
index 14d49a4..ebe9ac8 100644
--- a/config/livecd-fedora-base-desktop.ks
+++ b/config/livecd-fedora-base-desktop.ks
@@ -135,6 +135,7 @@ chkconfig --level 345 readahead_later off 2>/dev/null
mount -t tmpfs varcacheyum /var/cache/yum
mount -t tmpfs tmp /tmp
mount -t tmpfs vartmp /var/tmp
+[ -x /sbin/restorecon ] && /sbin/restorecon /var/cache/yum /tmp /var/tmp
>/dev/null 2>&1
# Stopgap fix for RH #217966; should be fixed in HAL instead
touch /media/.hal-mtab