qubes-linux-template-builder/scripts_archlinux/02_install_groups.sh
2013-04-19 02:20:29 +02:00

16 lines
409 B
Bash
Executable File

#!/bin/sh
set -e
echo "Mounting archlinux install system into mnt_archlinux_dvd..."
sudo mount $CACHEDIR/root-image.fs mnt_archlinux_dvd
PKGGROUPS=`cat $SCRIPTSDIR/packages.list`
echo "-> Installing archlinux package groups..."
echo "-> Selected packages:"
echo "$PKGGROUPS"
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --needed --noconfirm -S $PKGGROUPS
sudo umount mnt_archlinux_dvd