summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-29 09:16:31 +0200
committerErich Eckner <git@eckner.net>2019-07-29 09:16:31 +0200
commit0c49a06fb00dd57ff49f5ce77c765f36be6457da (patch)
treebc2b12ae07e29c6c81c26d14bd37e98ef74dfff0
parent2f50e47498158a28309dd65b82cf69d7c91b1fa0 (diff)
downloaddevtools32-0c49a06fb00dd57ff49f5ce77c765f36be6457da.tar.xz
archbuild.in: install local-certificates only when building for archlinuxewearchlinuxewe-20190729
-rw-r--r--archbuild.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/archbuild.in b/archbuild.in
index 334eee0..d933a20 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##*-}