qubes-linux-template-builder/scripts_qubuntu/02_install_groups_trusty.sh
Jason Mehring dd70031ba0 qubuntu: Added trusty, utopic and vivid templates
Considered experimential at this stage.  vivid has not had any testing

trusty and utopic work as proxyvm's
2015-02-14 12:33:54 -05:00

35 lines
1.4 KiB
Bash
Executable File

#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source "${SCRIPTSDIR}/vars.sh"
source "${SCRIPTSDIR}/distribution.sh"
#### '--------------------------------------------------------------------------
info 'HACK: Copying utopic sources.list to install systemd'
#### '--------------------------------------------------------------------------
cat > "${INSTALLDIR}/etc/apt/sources.list.d/systemd-utopic.list" <<EOF
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ utopic main
EOF
#### '--------------------------------------------------------------------------
info 'Add universe to sources.list'
#### '--------------------------------------------------------------------------
updateQubuntuSourceList
#### '--------------------------------------------------------------------------
info 'Install Systemd'
#### '--------------------------------------------------------------------------
aptUpdate
installSystemd
#### '--------------------------------------------------------------------------
info 'HACK: Commenting out utopic sources.list used to install systemd'
#### '--------------------------------------------------------------------------
sed -i "s/^deb/#deb/" "${INSTALLDIR}"/etc/apt/sources.list.d/systemd-utopic.list
#### '--------------------------------------------------------------------------
info 'apt-get update'
#### '--------------------------------------------------------------------------
aptUpdate