summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-29 09:16:31 +0200
committerErich Eckner <git@eckner.net>2019-09-13 09:22:11 +0200
commit5ed0ac7d294faa1d92bd7c1e084c44ac7dfabdaa (patch)
tree50e4ea9c47b476e4b153d21783d7f641b1df61fb
parente36d82553d1eff7fc3867dec7de292b16a5ee97b (diff)
downloaddevtools32-5ed0ac7d294faa1d92bd7c1e084c44ac7dfabdaa.tar.xz
archbuild.in: install local-certificates only when building for archlinuxewe
-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##*-}