malekith: bootdisk mkpkg,1.2,1.3

Michał Moskal malekith w pld-linux.org
Pon, 25 Mar 2002, 10:18:31 CET


Module name:    bootdisk
Changes by:     malekith

Changed RCS file: /cvsroot/bootdisk/pkg/mkpkg,v
----------------------------
revision 1.3
date: 2002/03/25 09:18:26;  author: malekith;  state: Exp;  lines: +6 -0
- deduce $ARCH if not passed, and export it
 

Index: mkpkg
===================================================================
RCS file: /cvsroot/bootdisk/pkg/mkpkg,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mkpkg	18 Mar 2002 19:14:26 -0000	1.2
+++ mkpkg	25 Mar 2002 09:18:26 -0000	1.3
@@ -33,6 +33,12 @@
 rpmdir=$HOME/rpm/RPMS/
 export rpmdir
 
+if [ "$ARCH" = "" ] ; then
+  ARCH=$(uname -m | sed -e 's/i.86/ia32/; s/athlon/ia32/')
+fi
+
+export ARCH
+
 scriptsdir="../scripts"
 
 pkgfile="./packages"



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