Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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 09:02:46 +0200
commit5fa61268ac848d28a3a212185eda6e79e9d8bd1c (patch)
treee7fe89e89d374582b53ac04e579f88ea555b49cf
parent34687e25eb53456146e44cf9458d06bf1bcb624e (diff)
archbuild.in: install local-certificates only when building for archlinuxewearchlinuxewe-20190820
-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##*-}