malekith: bootdisk BOOT,1.1,1.2
Michał Moskal
malekith w pld-linux.org
Sob, 16 Mar 2002, 14:40:10 CET
Module name: bootdisk
Changes by: malekith
Changed RCS file: /cvsroot/bootdisk/scripts/BOOT,v
----------------------------
revision 1.2
date: 2002/03/16 13:40:06; author: malekith; state: Exp; lines: +45 -6
- more packages
Index: BOOT
===================================================================
RCS file: /cvsroot/bootdisk/scripts/BOOT,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- BOOT 14 Mar 2002 16:37:10 -0000 1.1
+++ BOOT 16 Mar 2002 13:40:06 -0000 1.2
@@ -5,11 +5,33 @@
--without nls \
--without tetex \
--target=i386-pld-linux \
+ --clean \
"
lds="--define 'rpmldflags -s -static'"
-usr_include="--define 'rpmcflags -march=i386 -Os -I/usr/include'"
+cflags="-march=i386 -Os -I/usr/include"
+usr_include="--define 'rpmcflags $cflags'"
case "$1" in
+ ALL )
+ all=`grep '\.spec *)' $0 | sed -e 's/)//'`
+ echo $all
+ for f in $all ; do
+ if $0 $f ; then
+ echo "$f built OK"
+ else
+ echo "$f built FAILED"
+ exit 1
+ fi
+ done
+ ;;
+ uClibc.spec )
+ package_opt="$lds"
+ ;;
+ slang.spec )
+ ;;
+ e2fsprogs.spec )
+ package_opt="--with allstatic $lds"
+ ;;
dml.spec )
package_opt="$lds $usr_include"
;;
@@ -19,9 +41,6 @@
busybox.spec )
package_opt="--without static $lds"
;;
- e2fsprogs.spec )
- package_opt="--with allstatic $lds"
- ;;
iproute2.spec )
package_opt="$lds --without tc"
;;
@@ -33,8 +52,28 @@
;;
parted.spec )
export CPPFLAGS="-I/usr/include"
- package_opt="--define 'rpmcflags -march=i386 -Os -DUSE_OWN_LLSEEK -DNO_BIOS_GEOMETRY_WARNING' \
- --with static --without readline"
+ def="-DUSE_OWN_LLSEEK -DNO_BIOS_GEOMETRY_WARNING"
+ package_opt="$lds \
+ --with static \
+ --without readline \
+ --with uClibc \
+ --define 'rpmcflags $cflags $def'"
+ ;;
+ jfsutils.spec )
+ package_opt="$lds --without fsck"
+ ;;
+ pcmcia-cs.spec )
+ package_opt="$lds"
+ ;;
+ e3.spec )
+ package_opt="$lds"
+ ;;
+ mdctl.spec )
+ package_opt="$lds --without initrd"
+ ;;
+ xfsprogs.spec )
+ export CPPFLAGS="-I/usr/include"
+ package_opt="--with static $usr_include"
;;
esac
eval "rpm -bb $common_opt $package_opt \"$@\""
Więcej informacji o liście dyskusyjnej pld-installer