install gcc-multilib for multilib-build by default
This commit is contained in:
parent
fbc3929ec0
commit
6201853f52
|
@ -1,12 +1,16 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
base_packages='base base-devel sudo'
|
||||||
|
|
||||||
cmd="$(basename "${0%-build}")"
|
cmd="$(basename "${0%-build}")"
|
||||||
if [ "${cmd}" == 'multilib' ]; then
|
if [ "${cmd}" == 'multilib' ]; then
|
||||||
repo='multilib'
|
repo='multilib'
|
||||||
arch='x86_64'
|
arch='x86_64'
|
||||||
|
base_packages+=' gcc-multilib'
|
||||||
elif [ "${cmd}" == 'multilib-testing' ]; then
|
elif [ "${cmd}" == 'multilib-testing' ]; then
|
||||||
repo='multilib-testing'
|
repo='multilib-testing'
|
||||||
arch='x86_64'
|
arch='x86_64'
|
||||||
|
base_packages+=' gcc-multilib'
|
||||||
else
|
else
|
||||||
repo=${cmd%-*}
|
repo=${cmd%-*}
|
||||||
arch=${cmd#*-}
|
arch=${cmd#*-}
|
||||||
|
@ -42,7 +46,7 @@ if ${clean_first} || [ ! -d "${chroots}/${repo}-${arch}" ]; then
|
||||||
-C /usr/share/devtools/pacman-${repo}.conf \
|
-C /usr/share/devtools/pacman-${repo}.conf \
|
||||||
-M /usr/share/devtools/makepkg-${arch}.conf \
|
-M /usr/share/devtools/makepkg-${arch}.conf \
|
||||||
${chroots}/${repo}-${arch}/root \
|
${chroots}/${repo}-${arch}/root \
|
||||||
base base-devel sudo
|
${base_packages}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Building in chroot for [${repo}] (${arch})..."
|
echo "Building in chroot for [${repo}] (${arch})..."
|
||||||
|
|
Loading…
Reference in New Issue