]> git.sommitrealweird.co.uk Git - rpmbased-dist-chroot.git/commitdiff
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 268fd4fe6998797c735661c8018ec576761ee557..7fd9a197336f2deaa5ae643b5c3797292513ed1d 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]