Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--soas-xo.ks17
1 files changed, 16 insertions, 1 deletions
diff --git a/soas-xo.ks b/soas-xo.ks
index 7ae7d5d..9ac3bd7 100644
--- a/soas-xo.ks
+++ b/soas-xo.ks
@@ -478,4 +478,19 @@ sed -i -e 's/PROMPT=yes/PROMPT=no/;' /etc/sysconfig/init
# END setup services
##################
-%end \ No newline at end of file
+%end
+
+
+##################
+# FIXME: remove when it's clear why non-OLPC kernel's being installed
+# (and installed second)
+%post --nochroot
+cp -p ../cache/olpc*/packages/kernel-2.6.30_xo1*.rpm $INSTALL_ROOT
+%end
+%post
+set -x
+ls -l /boot
+rpm -ivh --force $(/bin/ls /kernel-2.6.30_xo1*.rpm | tail -1)
+ls -l /boot
+%end
+##################