archlinux: template flavor support including "minimal" template
This commit is contained in:
parent
39db9786c4
commit
af6a4118db
@ -1,11 +1,20 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
if [ -n "${TEMPLATE_FLAVOR}" ]; then
|
||||||
|
PKGLISTFILE="$SCRIPTSDIR/packages_${TEMPLATE_FLAVOR}.list"
|
||||||
|
if ! [ -r "${PKGLISTFILE}" ]; then
|
||||||
|
echo "ERROR: ${PKGLISTFILE} does not exists!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
PKGLISTFILE="$SCRIPTSDIR/packages.list"
|
||||||
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
echo "Mounting archlinux install system into mnt_archlinux_dvd..."
|
echo "Mounting archlinux install system into mnt_archlinux_dvd..."
|
||||||
mount $CACHEDIR/root-image.fs mnt_archlinux_dvd
|
mount $CACHEDIR/root-image.fs mnt_archlinux_dvd
|
||||||
|
|
||||||
PKGGROUPS=`cat $SCRIPTSDIR/packages.list`
|
PKGGROUPS=`cat $PKGLISTFILE`
|
||||||
|
|
||||||
echo "-> Installing archlinux package groups..."
|
echo "-> Installing archlinux package groups..."
|
||||||
echo "-> Selected packages:"
|
echo "-> Selected packages:"
|
||||||
|
8
scripts_archlinux/packages_minimal.list
Normal file
8
scripts_archlinux/packages_minimal.list
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
xorg
|
||||||
|
xterm
|
||||||
|
python2
|
||||||
|
sudo
|
||||||
|
wget
|
||||||
|
zsh
|
||||||
|
ethtool
|
||||||
|
net-tools
|
Loading…
Reference in New Issue
Block a user