index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-04-13 14:32:36 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-02-20 08:18:01 +0100 |
commit | bc897311f0993e74e778e433f62f3cf9fba42856 (patch) | |
tree | 9282cd0340eff121fd8ecc2d9cf3b22615423bab /archbuild.in | |
parent | 1ba5cb861e1e1a2c4a187886b1c6771f5923e91b (diff) |
-rw-r--r-- | archbuild.in | 7 |
diff --git a/archbuild.in b/archbuild.in index b2a3ebd..b7f73a3 100644 --- a/archbuild.in +++ b/archbuild.in @@ -17,6 +17,11 @@ else repo=${tag%-*} arch=${tag##*-} fi +if [[ "${arch}" == 'pentium4' ]]; then + set_arch='i686' +else + set_arch="${arch}" +fi chroots='/var/lib/archbuild' clean_first=false @@ -77,7 +82,7 @@ if ${clean_first} || [[ ! -d "${chroots}/${repo}-${arch}" ]]; then rm -rf --one-file-system "${chroots}/${repo}-${arch}" (umask 0022; mkdir -p "${chroots}/${repo}-${arch}") - setarch "${arch}" mkarchroot \ + setarch "${set_arch}" mkarchroot \ -C "${pacman_config}" \ -M "${makepkg_config}" \ ${cache_dir} \ |