Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archbuild.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-07-29 09:16:31 +0200
committerErich Eckner <git@eckner.net>2019-09-09 10:07:45 +0200
commita187fe3d923328812df8ce5d8f8eea4e2eed4a04 (patch)
treec270e03983e3acda2d2ed2bf6c64c56b9c8812d7 /archbuild.in
parent7c447a0e7e6303419ceee0277f12cadb12649b20 (diff)
archbuild.in: install local-certificates only when building for archlinuxewe
Diffstat (limited to 'archbuild.in')
-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##*-}