[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rescue.sh.use-flavour.diff



#include <hallo.h>
Eduard Bloch wrote on Fri Aug 17, 2001 um 12:53:39PM:

> Found the reason, the rescue floppy did not use the flavor/subarch (ie.
> reiserfs). Patch attached.

But now...

-- 
Hi! I'm Norton Antivirus. Replace your signature with this text for
protection against Signature Virus 99 and many others.
--- boot-floppies-cvs.orig/rescue.sh
+++ boot-floppies-cvs/rescue.sh
@@ -12,8 +12,13 @@
 #
 write_installsh () {
     if [ "x$noinstall" = x ]; then
+        kverfl=$kver
+        if [ -n $subarch ]; then
+            kverfl = $kver-$subarch
+        fi
+
 	m4 -D__ERROR_MESS__=$scripts/messages/$language/install.sh.txt \
-	   -D__version__=$kver -D__arch__=$arch \
+	   -D__version__=$kverfl -D__arch__=$arch \
 	   <$scripts/install.sh >$mnt/install.sh
 	chmod 755 $mnt/install.sh
     fi

Reply to: