[Lunar-commits] r15527 - lunar-iso/branches/lunar-iso-2.6/scripts
Jaime Buffery
nestu at lunar-linux.org
Thu Jun 30 09:33:48 UTC 2005
Author: nestu
Date: 2005-06-30 09:33:47 +0000 (Thu, 30 Jun 2005)
New Revision: 15527
Modified:
lunar-iso/branches/lunar-iso-2.6/scripts/isofs
Log:
D'oh! Don't forget to update the initrd's size in isolinux.cfg
Modified: lunar-iso/branches/lunar-iso-2.6/scripts/isofs
===================================================================
--- lunar-iso/branches/lunar-iso-2.6/scripts/isofs 2005-06-30 07:27:50 UTC (rev 15526)
+++ lunar-iso/branches/lunar-iso-2.6/scripts/isofs 2005-06-30 09:33:47 UTC (rev 15527)
@@ -31,6 +31,10 @@
cp $ISO_SOURCE/kernels/safe $ISO_TARGET/isolinux/
cp $ISO_SOURCE/memtest/memtest $ISO_TARGET/isolinux/
+# update the initrd's size
+SIZE=$(cat $ISO_SOURCE/initrd/.initrd_size)
+sedit "s:ramdisk_size=[0-9]*:ramdisk_size=${SIZE}:g" $ISO_SOURCE/isolinux/isolinux.cfg
+
cp $ISO_SOURCE/isolinux/{f{1,2,3,4}.txt,boot.cat,isolinux.{bin,cfg},generate-iso.sh,README} $ISO_TARGET/isolinux/
echo "+ copying package listing"
More information about the Lunar-commits
mailing list