Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantiago Collazo <scollazo@activitycentral.com>2012-11-03 16:48:14 (GMT)
committer Santiago Collazo <scollazo@activitycentral.com>2012-11-03 16:48:14 (GMT)
commitfafb4d7f8a8b3b31e23db4260f38ff7c21d5df68 (patch)
tree32e79652ad715f1eb324a5ae8a8e0ec91491bdd3
parent5dd7e748b98e3b20ce7920f9ca9b7d9ff37cd312 (diff)
Fix permissions and yum metadata expires
-rw-r--r--modules/x11/kspost.90.tweaks.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/x11/kspost.90.tweaks.inc b/modules/x11/kspost.90.tweaks.inc
index a8299c7..4f73e86 100644
--- a/modules/x11/kspost.90.tweaks.inc
+++ b/modules/x11/kspost.90.tweaks.inc
@@ -192,3 +192,18 @@ gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults
# enable ad-hoc icon
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool --set /desktop/sugar/network/adhoc true
+# Create an alternative tmp dir that is not in ramdisk, empty on every boot
+echo "rm -rf /usr/local/tmp" >> $INSTALL_ROOT/etc/rc.local
+echo "mkdir /usr/local/tmp" >> $INSTALL_ROOT/etc/rc.local
+echo "chmod 1777 /usr/local/tmp" >> $INSTALL_ROOT/etc/rc.local
+
+# The main fedora yum repo metadata should never expire
+sed 's/metadata_expire.*/metadata_expire=never/' /etc/yum.repos.d/fedora.repo -i
+
+
+# Just making sure we didn't mess up ownerships
+chown olpc.olpc /home/olpc -R
+chown root.root /
+chmod 1755 /
+chmod 755 /etc/init.d/*
+# ADD THINGS BEFORE THIS BLOCK