summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-29 09:16:31 +0200
committerErich Eckner <git@eckner.net>2019-08-20 11:18:11 +0200
commita6a3e200a88dc9adb76ef5da1f24cd146d2f0303 (patch)
treee549f2b38a76ac750a0ddedc9a878682afe5bc72
parent3335b20ce5ec091610509954b980e022dd6b3491 (diff)
downloaddevtools32-a6a3e200a88dc9adb76ef5da1f24cd146d2f0303.tar.xz
archbuild.in: install local-certificates only when building for archlinuxewearchlinuxewe-20190820.1
-rw-r--r--archbuild.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 9dbc1d5..2125fad 100644
--- a/archbuild.in
+++ b/archbuild.in
@@ -4,7 +4,7 @@
m4_include(lib/common.sh)
m4_include(lib/archroot.sh)
-base_packages=(base base-devel local-certificates)
+base_packages=(base base-devel)
makechrootpkg_args=(-c -n)
cmd="${0##*/}"
@@ -13,6 +13,9 @@ if [[ "${cmd%%-*}" == 'multilib' ]]; then
arch='x86_64'
base_packages+=(multilib-devel)
else
+ if [[ "${cmd%%-*}}" == 'archlinuxewe' ]]; then
+ base_packages+=(local-certificates)
+ fi
tag="${cmd%-build}"
repo=${tag%-*}
arch=${tag##*-}