malekith: bootdisk mkimages,1.11,1.11.2.1

Michał Moskal malekith w pld-linux.org
Pon, 8 Kwi 2002, 16:54:43 CEST


Module name:    bootdisk
Changes by:     malekith

Changed RCS file: /cvsroot/bootdisk/mkimages,v
----------------------------
revision 1.11.2.1
date: 2002/04/08 14:54:40;  author: malekith;  state: Exp;  lines: +9 -0
- generate initrd_iso.gz and copy vmlinuz so it can be send to dosutils/autoboot
 

Index: mkimages
===================================================================
RCS file: /cvsroot/bootdisk/mkimages,v
retrieving revision 1.11
retrieving revision 1.11.2.1
diff -u -d -r1.11 -r1.11.2.1
--- mkimages	25 Mar 2002 09:18:01 -0000	1.11
+++ mkimages	8 Apr 2002 14:54:40 -0000	1.11.2.1
@@ -24,6 +24,15 @@
       sh scripts/mkinstaller -t `pwd`/targz -a $kernel_opt $opt "$@" \
   		-I bootdisk_${name}_slow.txt \
 		-o bootdisk_${name}_slow.img
+      if [ "$name" = iso ] ; then
+        sh scripts/mkinstaller -t `pwd`/targz -a $kernel_opt $opt "$@" \
+  		-I bootdisk_iso_initrd.txt \
+		-o initrd_${name}
+        echo -n "compressing... "
+        gzip -9nf initrd_${name}
+        echo "done"
+	cp targz/kernel/vmlinuz-$KERNEL_VER vmlinuz
+      fi
       ;;
     ppc )
       case $name in



Więcej informacji o liście dyskusyjnej pld-installer