On Sun, 2011-10-30 at 12:49 +0100, Michal Marek wrote:
On Fri, Oct 28, 2011 at 09:30:08PM +0100, Andrew Wafaa wrote:
I think the attached patch is better, although I am having issues actually building any of the ARM kernels. Whenever I try I end up with:
tar: config/armv7l/generic: Not found in archive tar: Exiting with failure status due to previous errors error: Architecture is not included: armv7l
Does this mean I need to actually have armv7l in config.conf and config/ instead of arm or in addition?
Try this patch:
From b4d9e3fe740f327bd7d915813696140a56c465a0 Mon Sep 17 00:00:00 2001 From: Michal Marek <mmarek@suse.cz> Date: Sun, 30 Oct 2011 12:47:38 +0100 Subject: [PATCH] rpm/arch-symbols: Add support for ARM
--- rpm/arch-symbols | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/rpm/arch-symbols b/rpm/arch-symbols index 47c100a..f714e67 100755 --- a/rpm/arch-symbols +++ b/rpm/arch-symbols @@ -25,7 +25,7 @@
if [ "$1" = "--list" ]; then # List all known architectures - echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc + echo i386 mips{,64} sparc{,64} ppc{,64} s390{,x} ia64 x86_64 alpha parisc arm exit 0 fi
@@ -39,6 +39,9 @@ case "$ARCH" in i?86 | pentium3 | pentium4 | athlon | geode) echo i386 ;; + arm*) + echo arm + ;; *) echo "$ARCH" ;;
This doesn't quite work. Reason being the resulting spec file ends up with "ExclusiveArch: arm", when in fact it needs to be "ExclusiveArch: %arm". I've tested the two by manually editing the resulting spec files, and can confirm the only way it picks up the different ARM arch is by using %arm (much in the same way as %ix86). Any ideas on how I get it to work? I have tried the patch and also tried replacing "arm*)" with the output of "rpm --eval '%arm'" like i386, but no joy. Thanks, Andy -- Andrew Wafaa IRC: FunkyPenguin GPG: 0x3A36312F -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org