rpms/anaconda/F-9 anaconda-11.4.0.83-more-sparc-fixes.patch, 1.2, 1.3 anaconda.spec, 1.688, 1.689

Tom Callaway spot at fedoraproject.org
Thu Oct 2 21:48:18 UTC 2008


Author: spot

Update of /cvs/pkgs/rpms/anaconda/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30483

Modified Files:
	anaconda-11.4.0.83-more-sparc-fixes.patch anaconda.spec 
Log Message:
fix sparc conditionals in upd-instroot

anaconda-11.4.0.83-more-sparc-fixes.patch:

Index: anaconda-11.4.0.83-more-sparc-fixes.patch
===================================================================
RCS file: /cvs/pkgs/rpms/anaconda/F-9/anaconda-11.4.0.83-more-sparc-fixes.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- anaconda-11.4.0.83-more-sparc-fixes.patch	2 Oct 2008 19:37:20 -0000	1.2
+++ anaconda-11.4.0.83-more-sparc-fixes.patch	2 Oct 2008 21:47:48 -0000	1.3
@@ -1,6 +1,6 @@
 diff -up anaconda-11.4.0.83/scripts/mk-images.sparc.spot anaconda-11.4.0.83/scripts/mk-images.sparc
 --- anaconda-11.4.0.83/scripts/mk-images.sparc.spot	2008-10-01 21:32:11.000000000 -0400
-+++ anaconda-11.4.0.83/scripts/mk-images.sparc	2008-10-02 15:27:06.000000000 -0400
++++ anaconda-11.4.0.83/scripts/mk-images.sparc	2008-10-02 17:37:59.000000000 -0400
 @@ -52,52 +52,51 @@ maketftp() {
      fi
  }
@@ -94,7 +94,7 @@
  }
 diff -up anaconda-11.4.0.83/scripts/mk-images.spot anaconda-11.4.0.83/scripts/mk-images
 --- anaconda-11.4.0.83/scripts/mk-images.spot	2008-10-01 21:32:11.000000000 -0400
-+++ anaconda-11.4.0.83/scripts/mk-images	2008-10-02 15:28:28.000000000 -0400
++++ anaconda-11.4.0.83/scripts/mk-images	2008-10-02 17:37:59.000000000 -0400
 @@ -128,7 +128,7 @@ INITRDMODS="$USBMODS $FIREWIREMODS $IDEM
  	KERNELDIR="/boot"
      fi
@@ -131,3 +131,41 @@
  fi
  
  foundakernel=""
+diff -up anaconda-11.4.0.83/scripts/upd-instroot.spot anaconda-11.4.0.83/scripts/upd-instroot
+--- anaconda-11.4.0.83/scripts/upd-instroot.spot	2008-10-02 17:38:46.000000000 -0400
++++ anaconda-11.4.0.83/scripts/upd-instroot	2008-10-02 17:43:07.000000000 -0400
+@@ -198,7 +198,7 @@ if [ $ARCH = ppc -o $ARCH = ppc64 ]; the
+     PACKAGES="$PACKAGES pcmciautils pdisk yaboot hfsutils"
+ fi
+ 
+-if [ $ARCH = sparc -o $ARCH = sparc64 ]; then
++if [ $ARCH = sparc -o $ARCH = sparcv9 -o $ARCH = sparc64 ]; then
+     PACKAGES="$PACKAGES silo"
+ fi
+ 
+@@ -266,7 +266,7 @@ fi
+ #
+ # add bootloader for particular arch
+ #
+-if [ $ARCH = sparc ]; then
++if [ $ARCH = sparc -o $ARCH = sparcv9 -o $ARCH = sparc64 ]; then
+     PACKAGESGR="$PACKAGESGR tilo silo"
+ fi
+ 
+@@ -1050,10 +1050,12 @@ for p in $DEST $DESTGR; do
+ 	done
+ 
+ 	# copy bootloader files for sparc
+-	if [ $ARCH = sparc -a $p = $DESTGR ]; then
+-	    mkdir -p $p/usr/lib/anaconda-runtime/boot
+-	    [ -d $p/boot ] || die "ERROR: directory missing: $p/boot"
+-	    (cd $p/boot; find -name "*.b") | (cd $p/boot; /bin/cpio --quiet -pdmu $p/usr/lib/anaconda-runtime/boot)
++	if [ $ARCH = sparc -o $ARCH = sparcv9 -o $ARCH = sparc64 ]; then
++	    if [ $p = $DESTGR ]; then
++		mkdir -p $p/usr/lib/anaconda-runtime/boot
++		[ -d $p/boot ] || die "ERROR: directory missing: $p/boot"
++		(cd $p/boot; find -name "*.b") | (cd $p/boot; /bin/cpio --quiet -pdmu $p/usr/lib/anaconda-runtime/boot)
++	    fi
+         fi
+ 
+ 	# copy bootloader file for ppc


Index: anaconda.spec
===================================================================
RCS file: /cvs/pkgs/rpms/anaconda/F-9/anaconda.spec,v
retrieving revision 1.688
retrieving revision 1.689
diff -u -r1.688 -r1.689
--- anaconda.spec	2 Oct 2008 19:37:20 -0000	1.688
+++ anaconda.spec	2 Oct 2008 21:47:48 -0000	1.689
@@ -3,7 +3,7 @@
 Summary: Graphical system installer
 Name:    anaconda
 Version: 11.4.0.83
-Release: 3
+Release: 4
 License: GPLv2+
 Group:   Applications/System
 URL:     http://fedoraproject.org/wiki/Anaconda
@@ -214,6 +214,9 @@
 /sbin/chkconfig --del reconfig >/dev/null 2>&1 || :
 
 %changelog
+* Thu Oct 02 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 11.4.0.83-4
+- fix sparc conditionals in upd-instroot
+
 * Thu Oct 02 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 11.4.0.83-3
 - clean up sparc specific work
 




More information about the scm-commits mailing list