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> | 2019-08-22 11:18:40 +0200 |
commit | 4e9fba2f676acf79879673a7864a8ec692f489b9 (patch) | |
tree | fba9bb392d1b4812c14d409107942381824c0c61 /archbuild.in | |
parent | 7027e90c3283fedd42cca885b092e68a3cc15950 (diff) |
-rw-r--r-- | archbuild.in | 7 |
diff --git a/archbuild.in b/archbuild.in index fb6283d..aed79f3 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}" mkdir -m755 -p "${chroots}/${repo}-${arch}" - setarch "${arch}" mkarchroot \ + setarch "${set_arch}" mkarchroot \ -C "${pacman_config}" \ -M "${makepkg_config}" \ ${cache_dir} \ |