[Lunar-commits] r19471 - lunar-iso/trunk/scripts

Auke Kok sofar at lunar-linux.org
Mon Mar 27 00:54:27 UTC 2006


Author: sofar
Date: 2006-03-27 00:54:25 +0000 (Mon, 27 Mar 2006)
New Revision: 19471

Modified:
   lunar-iso/trunk/scripts/isofs
Log:
Add motd and motd.target to the list of templated files which need postprocessing in the last stage.


Modified: lunar-iso/trunk/scripts/isofs
===================================================================
--- lunar-iso/trunk/scripts/isofs	2006-03-27 00:53:59 UTC (rev 19470)
+++ lunar-iso/trunk/scripts/isofs	2006-03-27 00:54:25 UTC (rev 19471)
@@ -44,12 +44,15 @@
 cp $ISO_SOURCE/aaa_dev/aaa_dev.tar.bz2 $ISO_TARGET/var/cache/lunar/
 echo "+ copying README"
 cp $ISO_SOURCE/template/README $ISO_TARGET
+echo "+ copying motd"
+cp $ISO_SOURCE/template/motd $ISO_TARGET/etc/
+cp $ISO_SOURCE/template/motd.target $ISO_TARGET/etc/
 
-for file in $ISO_TARGET/isolinux/{f{1,2,3,4}.txt,boot.cat,isolinux.{bin,cfg}} $ISO_TARGET/etc/motd $ISO_TARGET/etc/motd $ISO_TARGET/sbin/lunar-install $ISO_TARGET/README ; do
+for file in $ISO_TARGET/isolinux/{f{1,2,3,4}.txt,boot.cat,isolinux.{bin,cfg}} $ISO_TARGET/etc/motd $ISO_TARGET/etc/motd $ISO_TARGET/sbin/lunar-install $ISO_TARGET/README $ISO_TARGET/etc/motd $ISO_TARGET/etc/motd.target ; do
   sed -i -e "s:%VERSION%:${ISO_VERSION}:g" \
          -e "s:%CODENAME%:${ISO_CODENAME}:g" \
          -e "s:%DATE%:${ISO_DATE}:g" \
-         -e "s:%KERNEL%:${ISO_KVER}:g" \
+         -e "s:%KERNEL%:${ISO_PVER}:g" \
 	 -e "s:%CNAME%:${ISO_CNAME}:g" $file
 done
 



More information about the Lunar-commits mailing list