Add better support for ix86
authorBrett Parker <arch@sommitrealweird.co.uk>
Sat, 14 Jul 2007 09:22:12 +0000 (09:22 +0000)
committerBrett Parker <arch@sommitrealweird.co.uk>
Sat, 14 Jul 2007 09:22:12 +0000 (09:22 +0000)
* Add expansion to i686 and below to get all versions
  below it.
git-archimport-id: arch@sommitrealweird.co.uk--2005-desktop/rpmbased-dist-chroot--mainline--0.1--patch-3

rpmbased-dist-chroot.sh

index 268fd4f..7fd9a19 100755 (executable)
@@ -31,6 +31,18 @@ ourcachedirectory=$(mktemp -d)
 architecture=$(uname -m)
 export ARCH=$architecture
 
+case $architecture in
+       i686)
+               architecture="i686,i586,i486,i386"
+               ;;
+       i586)
+               architecture="i586,i486,i386"
+               ;;
+       i486)
+               architecture="i486,i386"
+               ;;
+esac
+
 function displayHelp() {
 cat <<END
 Usage: $0 [options]