[arch-commits] CVS update of arch/build/kernels/kernel26 (PKGBUILD)

andyrtr at archlinux.org andyrtr at archlinux.org
Sat Jul 7 10:02:44 UTC 2007


    Date: Saturday, July 7, 2007 @ 06:02:44
  Author: andyrtr
    Path: /home/cvs-arch/arch/build/kernels/kernel26

Modified: PKGBUILD (1.236 -> 1.237)

added a fix to be able to build the i686 kernel in chroot on a x86_64 host


----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


Index: arch/build/kernels/kernel26/PKGBUILD
diff -u arch/build/kernels/kernel26/PKGBUILD:1.236 arch/build/kernels/kernel26/PKGBUILD:1.237
--- arch/build/kernels/kernel26/PKGBUILD:1.236	Sat Jul  7 02:44:01 2007
+++ arch/build/kernels/kernel26/PKGBUILD	Sat Jul  7 06:02:44 2007
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD,v 1.236 2007/07/07 06:44:01 andyrtr Exp $
+# $Id: PKGBUILD,v 1.237 2007/07/07 10:02:44 andyrtr Exp $
 # Maintainer: judd <jvinet at zeroflux.org>
 pkgname=kernel26
 _basekernel=2.6.21
@@ -68,7 +68,7 @@
          '4964894a3f406d600226b62de570605b')
 
 build() {
-  [ "${CARCH}" = "i686" ]   && KARCH=i386
+  [ "${CARCH}" = "i686" ]   && KARCH=i386; export ARCH=${KARCH}
   [ "${CARCH}" = "x86_64" ] && KARCH=x86_64
 
   cd $startdir/src/linux-$_basekernel




More information about the arch-commits mailing list