Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Dengler <martin@martindengler.com>2009-08-20 14:19:50 (GMT)
committer Martin Dengler <martin@martindengler.com>2009-08-20 14:19:50 (GMT)
commita248742f0b93fd1843f47e48633a73cc7fbd6f93 (patch)
tree477c54a4b155e9136ffb80e8480b945ddf84a5ed
parent597e88df2b1628a5a17c2aa5ff945053ce50bfa2 (diff)
hack to get /boot/{vmlinuz,initrd} by installing olpc kernel a second time
-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
+##################