Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archbuild
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-10-17 12:57:48 +0200
committerPierre Schmitz <pierre@archlinux.de>2010-10-17 12:57:48 +0200
commit6201853f522fa95b51ecea81ec095be73517eeb2 (patch)
treeec6e4cc149ca83fa03449bf3ea3c948f70209074 /archbuild
parentfbc3929ec057bad608dd5e00b9bc02481c777796 (diff)
install gcc-multilib for multilib-build by default
Diffstat (limited to 'archbuild')
-rwxr-xr-xarchbuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/archbuild b/archbuild
index 3f7a484..f44a07d 100755
--- a/archbuild
+++ b/archbuild
@@ -1,12 +1,16 @@
#!/bin/bash
+base_packages='base base-devel sudo'
+
cmd="$(basename "${0%-build}")"
if [ "${cmd}" == 'multilib' ]; then
repo='multilib'
arch='x86_64'
+ base_packages+=' gcc-multilib'
elif [ "${cmd}" == 'multilib-testing' ]; then
repo='multilib-testing'
arch='x86_64'
+ base_packages+=' gcc-multilib'
else
repo=${cmd%-*}
arch=${cmd#*-}
@@ -42,7 +46,7 @@ if ${clean_first} || [ ! -d "${chroots}/${repo}-${arch}" ]; then
-C /usr/share/devtools/pacman-${repo}.conf \
-M /usr/share/devtools/makepkg-${arch}.conf \
${chroots}/${repo}-${arch}/root \
- base base-devel sudo
+ ${base_packages}
fi
echo "Building in chroot for [${repo}] (${arch})..."