From: Brett Parker Date: Sat, 14 Jul 2007 09:22:12 +0000 (+0000) Subject: Add better support for ix86 X-Git-Url: https://git.sommitrealweird.co.uk/rpmbased-dist-chroot.git/commitdiff_plain/a69d86a1b91b26852b50048b1870a18676dd8137?ds=inline Add better support for ix86 * 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 --- diff --git a/rpmbased-dist-chroot.sh b/rpmbased-dist-chroot.sh index 268fd4f..7fd9a19 100755 --- a/rpmbased-dist-chroot.sh +++ b/rpmbased-dist-chroot.sh @@ -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 <