2014-12-03 09:32:01 -01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
readonly ARCH=$(uname -m)
|
|
|
|
readonly DATE=$(date +%Y%m%d)
|
|
|
|
readonly BASE_IMG=void-live-${ARCH}-${DATE}.iso
|
|
|
|
readonly E_IMG=void-live-${ARCH}-${DATE}-enlightenment.iso
|
|
|
|
readonly XFCE_IMG=void-live-${ARCH}-${DATE}-xfce.iso
|
|
|
|
readonly MATE_IMG=void-live-${ARCH}-${DATE}-mate.iso
|
|
|
|
|
2014-12-05 00:17:57 -01:00
|
|
|
case "$ARCH" in
|
|
|
|
i686) GRUB="grub";;
|
|
|
|
x86_64) GRUB="grub-x86_64-efi";;
|
|
|
|
esac
|
|
|
|
|
|
|
|
readonly BASE_PKGS="dialog $GRUB"
|
|
|
|
readonly X_PKGS="$BASE_PKGS xorg-minimal xorg-input-drivers xorg-video-drivers lxdm setxkbmap xauth"
|
2014-12-03 09:32:01 -01:00
|
|
|
readonly E_PKGS="$X_PKGS cantarell-fonts enlightenment terminology econnman udisks2 firefox"
|
2014-12-03 11:32:49 -01:00
|
|
|
readonly XFCE_PKGS="$X_PKGS xfce4 cantarell-fonts firefox network-manager-applet gvfs-afc gvfs-mtp gvfs-smb udisks2"
|
|
|
|
readonly MATE_PKGS="$X_PKGS mate mate-extra cantarell-fonts firefox network-manager-applet gvfs-afc gvfs-mtp gvfs-smb udisks2"
|
2014-12-03 09:32:01 -01:00
|
|
|
|
|
|
|
[ ! -x mklive.sh ] && exit 0
|
|
|
|
|
|
|
|
if [ ! -e $BASE_IMG ]; then
|
|
|
|
./mklive.sh -o $BASE_IMG -p "$BASE_PKGS"
|
|
|
|
fi
|
|
|
|
if [ ! -e $E_IMG ]; then
|
|
|
|
./mklive.sh -o $E_IMG -p "$E_PKGS"
|
|
|
|
fi
|
|
|
|
if [ ! -e $XFCE_IMG ]; then
|
|
|
|
./mklive.sh -o $XFCE_IMG -p "$XFCE_PKGS"
|
|
|
|
fi
|
|
|
|
if [ ! -e $MATE_IMG ]; then
|
|
|
|
./mklive.sh -o $MATE_IMG -p "$MATE_PKGS"
|
|
|
|
fi
|
|
|
|
|