Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@marcopg.org>2009-01-27 20:16:14 (GMT)
committer Marco Pesenti Gritti <marco@marcopg.org>2009-01-27 20:16:14 (GMT)
commitdb53b4c704eebdf1aa9936728ab10493652b5da5 (patch)
tree5c2474726da810c2db829ea7020f5603b178c9f3
parent4886ffc4243ed6e9309481d12d0835cc4f5edd37 (diff)
Make sure activities is owned by liveuser.
-rwxr-xr-xbuild2
-rw-r--r--soas.ks1
2 files changed, 2 insertions, 1 deletions
diff --git a/build b/build
index 52554fa..e456f6d 100755
--- a/build
+++ b/build
@@ -16,7 +16,7 @@ def main():
if not os.path.exists(images_dir):
os.mkdir(images_dir)
- image_date = strftime("%d-%b-%Y", gmtime())
+ image_date = strftime("%Y%m%d%H%M", gmtime())
image_name = 'Soas-%s' % image_date
if os.path.exists(os.path.join(images_dir, image_name + '.iso')):
print 'Image %s exist already' % image_name
diff --git a/soas.ks b/soas.ks
index f433296..690ff87 100644
--- a/soas.ks
+++ b/soas.ks
@@ -146,6 +146,7 @@ FOE
fi
mkdir -p /home/liveuser/Activities
+chown liveuser:liveuser /home/liveuser/Activities
for bundle in \`find /usr/share/sugar/bundles -maxdepth 1\` ; do
ln -s \$bundle /home/liveuser/Activities
done