SOURCES: anaconda-mk-images - merged patrys changes from 10.2.0.52

glen glen at pld-linux.org
Wed May 17 21:34:31 CEST 2006


Author: glen                         Date: Wed May 17 19:34:31 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merged patrys changes from 10.2.0.52

---- Files affected:
SOURCES:
   anaconda-mk-images (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/anaconda-mk-images
diff -u SOURCES/anaconda-mk-images:1.5 SOURCES/anaconda-mk-images:1.6
--- SOURCES/anaconda-mk-images:1.5	Wed May 17 19:45:34 2006
+++ SOURCES/anaconda-mk-images	Wed May 17 21:34:25 2006
@@ -88,6 +88,11 @@
 	LIBDIR=lib
     fi
 
+	FONTARCH=${BASEARCH}
+	if [ $FONTARCH = i686 ]; then
+		FONTARCH=i386
+	fi
+
     rm -rf $IMAGEPATH
     rm -rf $FULLMODPATH
     rm -rf $FINALFULLMODPATH
@@ -103,7 +108,7 @@
     TRIMPCIIDS=$IMGPATH/usr/lib/anaconda-runtime/trimpciids
     GETKEYMAPS=$IMGPATH/usr/lib/anaconda-runtime/getkeymaps
     KEYMAPS=/tmp/keymaps-$BUILDARCH.$$
-    SCREENFONT=$IMGPATH/usr/lib/anaconda-runtime/screenfont-${BASEARCH}.gz
+    SCREENFONT=$IMGPATH/usr/lib/anaconda-runtime/screenfont-${FONTARCH}.gz
     GETMODDEPS=$IMGPATH/usr/lib/anaconda-runtime/moddeps
     MODLIST=$IMGPATH/usr/lib/anaconda-runtime/modlist
     MODINFO=$IMGPATH/usr/lib/anaconda-runtime/loader/module-info
@@ -443,7 +448,7 @@
     cp -f $IMGPATH/bin/busybox $MBD_DIR/sbin/busybox
     
     # make some symlinks
-    ln -sf bash $MBD_DIR/sbin/sh
+    ln -sf bash $MBD_DIR/bin/sh
     (cd $MBD_DIR/sbin;
     	set $(./busybox 2>&1| awk '/^\t([[:alnum:]_\[]+,)+/' | sed 's/,//g' | sed 's/ +//');
     	while [ -n "$1" ]; do
@@ -758,6 +763,8 @@
 if [ ${BUILDARCH} = s390x ]; then
     # FIXME: this is a bad hack for s390, but better than copying for now
     source $TOPDIR/mk-images.s390
+elif [ ${BUILDARCH} = i686 ]; then
+	source $TOPDIR/mk-images.i386
 else
     source $TOPDIR/mk-images.${BUILDARCH}
 fi
@@ -766,8 +773,8 @@
 kerneltags="kernel"
 if [ "$BUILDARCH" = "ppc" -o "$BUILDARCH" = "ppc64" ]; then
     arches="ppc64pseries ppc64 ppc64iseries ppc"
-elif [ "$BUILDARCH" = "i386" ]; then
-    arches="i586"
+elif [ "$BUILDARCH" = "i686" ]; then
+    arches="i386 i586 i686"
     kerneltags="kernel kernel-xenU"
 elif [ "$BUILDARCH" = "x86_64" ]; then
     arches="x86_64"
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/anaconda-mk-images?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list