Commit 05eae000 authored by Holger Levsen's avatar Holger Levsen

reproducible Arch Linux: another case where root is needed

Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 8db9c2da
......@@ -110,7 +110,7 @@ echo ". /etc/profile.d/proxy.sh" | sudo tee -a $SCHROOT_BASE/$TARGET/root/.bashr
$ROOTCMD bash -l -c 'pacman-key --init'
$ROOTCMD bash -l -c 'pacman-key --populate archlinux'
# use a specific mirror
echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | tee -a $SCHROOT_BASE/$TARGET/etc/pacman.d/mirrorlist
echo "Server = $ARCHLINUX_MIRROR/\$repo/os/\$arch" | $ROOTCMD tee -a $SCHROOT_BASE/$TARGET/etc/pacman.d/mirrorlist
# enable multilib (by uncommenting the first two lines starting with the [multilib] section header)
sudo sed -i '/\[multilib\]/,+1{s/^#//}' $SCHROOT_BASE/$TARGET/etc/pacman.conf
if [ "$HOSTNAME" = "profitbricks-build4-amd64" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment