diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-12-02 13:37:13 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-12-02 13:37:13 +0100 |
commit | e06a4a724356de37ecfd4b7869adb02ef5d39e00 (patch) | |
tree | acf38d8ada99820bd4fdf39513b9a6be7fb4f7c9 | |
parent | d6792db31cca80acde27af0448901622052f540c (diff) | |
download | devtools-e06a4a724356de37ecfd4b7869adb02ef5d39e00.tar.gz devtools-e06a4a724356de37ecfd4b7869adb02ef5d39e00.tar.xz |
archbuild: update the root install instead of the working copy
This avoids updating the chroot on every call. See https://bugs.archlinux.org/task/21930
-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} |