bootdisk: BOOT (HEAD)

malekith malekith w pld.org.pl
Czw, 22 Maj 2003, 23:20:26 CEST


Module name:	bootdisk
Changes by:	malekith	03/05/22 23:20:23

Modified files:
	BOOT

Log message:
- always use --with uClibc; use rpmbuild not rpm; fix jfsutils building

Index: BOOT
===================================================================
RCS file: /cvsroot/bootdisk/scripts/BOOT,v
diff -d -u -r1.6 -r1.7
--- BOOT	12 Jan 2003 18:29:28 -0000	1.6
+++ BOOT	22 May 2003 21:20:23 -0000	1.7
@@ -54,6 +54,7 @@
 common_opt="--define 'rpmcflags $cflags' \
 	    --without nls \
 	    --without tetex \
+	    --with uClibc \
 	    --target=$arch-pld-linux \
 	    --define 'distribution PLD-installer package' \
 	    --clean \
@@ -117,7 +118,8 @@
 		 --define 'rpmcflags $cflags $CPPFLAGS $def'"
     ;;
   jfsutils.spec )
-    package_opt="--without fsck"
+    export CPPFLAGS="-I/usr/include"
+    package_opt="--without fsck $usr_include"
     ;;
   mdadm.spec )
     package_opt="--without initrd"
@@ -144,7 +146,7 @@
     ;;
   *.spec )
     echo "Running rpm with \"$rpmcc $rpmld $package_opt\""
-    eval "exec rpm -bb $common_opt $rpmcc $rpmld $package_opt \"$@\""
+    eval "exec rpmbuild -bb $common_opt $rpmcc $rpmld $package_opt \"$@\""
     ;;
   * )
     echo "USAGE: $0 foo.spec|stage[0-3]" 1>&2



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