malekith: bootdisk BOOT,1.3,1.4

Michał Moskal malekith w pld-linux.org
Pon, 18 Mar 2002, 11:50:37 CET


Module name:    bootdisk
Changes by:     malekith

Changed RCS file: /cvsroot/bootdisk/scripts/BOOT,v
----------------------------
revision 1.4
date: 2002/03/18 10:50:32;  author: malekith;  state: Exp;  lines: +9 -1
- minor fixes
 

Index: BOOT
===================================================================
RCS file: /cvsroot/bootdisk/scripts/BOOT,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- BOOT	18 Mar 2002 09:21:07 -0000	1.3
+++ BOOT	18 Mar 2002 10:50:32 -0000	1.4
@@ -70,7 +70,12 @@
 
 if test "$glibc_static" ; then
     rpmcc=""
-    rpm -q glibc-static > /dev/null
+    if rpm -q glibc-static > /dev/null ; then
+      : ok
+    else
+      echo "You don't have glibc-static"
+      exit 1
+    fi
 else
     rpmcc="--define '__cc $arch-uclibc-gcc'"
 fi
@@ -116,6 +121,9 @@
     ;;
   util-linux.spec )
     package_opt="--with uClibc"
+    ;;
+  dml.spec )
+    package_opt=$usr_include
     ;;
 esac
 



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