2013-01-25 08:07:01 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-04-19 00:20:29 +00:00
|
|
|
set -e
|
|
|
|
|
2013-02-16 16:17:42 +00:00
|
|
|
echo "Mounting archlinux install system into mnt_archlinux_dvd..."
|
|
|
|
sudo mount $CACHEDIR/root-image.fs mnt_archlinux_dvd
|
2013-01-25 08:07:01 +00:00
|
|
|
|
2013-02-16 15:00:50 +00:00
|
|
|
PKGGROUPS=`cat $SCRIPTSDIR/packages.list`
|
|
|
|
|
2013-01-25 08:07:01 +00:00
|
|
|
echo "-> Installing archlinux package groups..."
|
|
|
|
echo "-> Selected packages:"
|
|
|
|
echo "$PKGGROUPS"
|
2013-02-16 16:17:42 +00:00
|
|
|
sudo ./mnt_archlinux_dvd/usr/bin/arch-chroot $INSTALLDIR pacman --needed --noconfirm -S $PKGGROUPS
|
2013-01-25 08:07:01 +00:00
|
|
|
|
2013-02-16 16:17:42 +00:00
|
|
|
sudo umount mnt_archlinux_dvd
|