diff options
Diffstat (limited to 'archbuild')
-rwxr-xr-x | archbuild | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -38,7 +38,11 @@ if ${clean_first} || [ ! -d "${chroots}/${repo}-${arch}" ]; then -M /usr/share/devtools/makepkg-${arch}.conf \ ${chroots}/${repo}-${arch}/root \ ${base_packages} +else + setarch ${arch} sudo mkarchroot \ + -u \ + ${chroots}/${repo}-${arch}/root fi echo "Building in chroot for [${repo}] (${arch})..." -setarch ${arch} sudo makechrootpkg -c -u -r ${chroots}/${repo}-${arch} +setarch ${arch} sudo makechrootpkg -c -r ${chroots}/${repo}-${arch} |