[Lunar-commits] r14560 - lunar-iso/branches/lunar-iso-2.6/scripts

Jaime Buffery nestu at lunar-linux.org
Sun May 1 14:17:00 UTC 2005


Author: nestu
Date: 2005-05-01 14:16:56 +0000 (Sun, 01 May 2005)
New Revision: 14560

Modified:
   lunar-iso/branches/lunar-iso-2.6/scripts/isolinux
Log:
clean the file up a little.
Add the correct initrd size to isolinux.cfg; info produced
by the the initrd script. 


Modified: lunar-iso/branches/lunar-iso-2.6/scripts/isolinux
===================================================================
--- lunar-iso/branches/lunar-iso-2.6/scripts/isolinux	2005-05-01 14:05:21 UTC (rev 14559)
+++ lunar-iso/branches/lunar-iso-2.6/scripts/isolinux	2005-05-01 14:16:56 UTC (rev 14560)
@@ -11,12 +11,15 @@
 cp $ISO_SOURCE/memtest/memtest $ISO_TARGET/isolinux/
 
 cd $ISO_SOURCE/isolinux
-for file in f{1,2,3}.txt boot.cat isolinux.bin isolinux.cfg generate-iso.sh README; do
+for file in *; do
   VERBOSE=off
   cp $file $ISO_TARGET/isolinux
-  sedit "s:%VERSION%:${ISO_VERSION}:g" $ISO_TARGET/isolinux/f?.txt
-  sedit "s:%CODENAME%:${ISO_CODENAME}:g" $ISO_TARGET/isolinux/f?.txt
-  sedit "s:%KERNEL%:${ISO_KVER}:g" $ISO_TARGET/isolinux/f?.txt
 done
 
+sedit "s:%VERSION%:${ISO_VERSION}:g"   $ISO_TARGET/isolinux/f?.txt
+sedit "s:%CODENAME%:${ISO_CODENAME}:g" $ISO_TARGET/isolinux/f?.txt
+sedit "s:%KERNEL%:${ISO_KVER}:g"       $ISO_TARGET/isolinux/f?.txt
 
+SIZE=$(cat $ISO_SOURCE/initrd/.initrd_size)
+
+sedit "s:ramdisk_size=[0-9]*:ramdisk_size=${SIZE}:g" $ISO_TARGET/isolinux/isolinux.cfg



More information about the Lunar-commits mailing list