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
This commit is contained in:
Jason Mehring 2015-02-10 10:25:35 -05:00
parent 78a903b1f7
commit dd70031ba0
42 changed files with 296 additions and 0 deletions

View File

@ -0,0 +1 @@
gnome-terminal.desktop

View File

@ -0,0 +1,5 @@
gnome-terminal.desktop
firefox.desktop
thunderbird.desktop
nautilus.desktop
yelp.desktop

View File

@ -0,0 +1,6 @@
gnome-terminal.desktop
gpk-application.desktop
gpk-update-viewer.desktop
gpk-prefs.desktop
gpk-log.desktop
yelp.desktop

View File

@ -0,0 +1 @@
gnome-terminal.desktop

View File

@ -0,0 +1,5 @@
gnome-terminal.desktop
firefox.desktop
thunderbird.desktop
nautilus.desktop
yelp.desktop

View File

@ -0,0 +1,6 @@
gnome-terminal.desktop
gpk-application.desktop
gpk-update-viewer.desktop
gpk-prefs.desktop
gpk-log.desktop
yelp.desktop

View File

@ -0,0 +1 @@
gnome-terminal.desktop

View File

@ -0,0 +1,5 @@
gnome-terminal.desktop
firefox.desktop
thunderbird.desktop
nautilus.desktop
yelp.desktop

View File

@ -0,0 +1,6 @@
gnome-terminal.desktop
gpk-application.desktop
gpk-update-viewer.desktop
gpk-prefs.desktop
gpk-log.desktop
yelp.desktop

View File

@ -0,0 +1 @@
gnome-terminal.desktop

View File

@ -0,0 +1,5 @@
gnome-terminal.desktop
firefox.desktop
thunderbird.desktop
nautilus.desktop
yelp.desktop

View File

@ -0,0 +1,6 @@
gnome-terminal.desktop
gpk-application.desktop
gpk-update-viewer.desktop
gpk-prefs.desktop
gpk-log.desktop
yelp.desktop

View File

@ -0,0 +1 @@
gnome-terminal.desktop

View File

@ -0,0 +1,5 @@
gnome-terminal.desktop
firefox.desktop
thunderbird.desktop
nautilus.desktop
yelp.desktop

View File

@ -0,0 +1,6 @@
gnome-terminal.desktop
gpk-application.desktop
gpk-update-viewer.desktop
gpk-prefs.desktop
gpk-log.desktop
yelp.desktop

View File

@ -0,0 +1 @@
gnome-terminal.desktop

View File

@ -0,0 +1,5 @@
gnome-terminal.desktop
firefox.desktop
thunderbird.desktop
nautilus.desktop
yelp.desktop

View File

@ -0,0 +1,6 @@
gnome-terminal.desktop
gpk-application.desktop
gpk-update-viewer.desktop
gpk-prefs.desktop
gpk-log.desktop
yelp.desktop

View File

@ -0,0 +1 @@
../scripts_debian/00_prepare.sh

View File

@ -0,0 +1 @@
../scripts_debian/01_install_core.sh

View File

@ -0,0 +1 @@
../scripts_debian/02_install_groups.sh

View File

@ -0,0 +1,12 @@
#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source "${SCRIPTSDIR}/vars.sh"
source "${SCRIPTSDIR}/distribution.sh"
#### '-------------------------------------------------------------------------
info ' Installing pulseaudio 5'
#### '-------------------------------------------------------------------------
chroot add-apt-repository -y ppa:ubuntu-audio-dev/pulse-testing
aptUpdate
aptInstall pulseaudio

View File

@ -0,0 +1,34 @@
#!/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

View File

@ -0,0 +1,16 @@
#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source "${SCRIPTSDIR}/vars.sh"
source "${SCRIPTSDIR}/distribution.sh"
#### '--------------------------------------------------------------------------
info 'Add universe to sources.list'
#### '--------------------------------------------------------------------------
updateQubuntuSourceList
#### '--------------------------------------------------------------------------
info 'Install Systemd'
#### '--------------------------------------------------------------------------
installSystemd

View File

@ -0,0 +1,16 @@
#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source "${SCRIPTSDIR}/vars.sh"
source "${SCRIPTSDIR}/distribution.sh"
#### '--------------------------------------------------------------------------
info 'Add universe to sources.list'
#### '--------------------------------------------------------------------------
updateQubuntuSourceList
#### '--------------------------------------------------------------------------
info 'Install Systemd'
#### '--------------------------------------------------------------------------
installSystemd

View File

@ -0,0 +1 @@
../scripts_debian/04_install_qubes.sh

View File

@ -0,0 +1,14 @@
#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source "${SCRIPTSDIR}/vars.sh"
source "${SCRIPTSDIR}/distribution.sh"
##### '=========================================================================
debug ' Ubuntu post Qubes...'
##### '=========================================================================
#### '-------------------------------------------------------------------------
info ' Cleaning up any left over files from installation'
#### '-------------------------------------------------------------------------
rm -rf "${INSTALLDIR}"/etc/apt/sources.list.d/qubes-r?.list

View File

@ -0,0 +1 @@
../scripts_debian/09_cleanup.sh

View File

@ -0,0 +1 @@
ubuntu-desktop

View File

@ -0,0 +1 @@
ubuntu-desktop

View File

@ -0,0 +1 @@
ubuntu-desktop

View File

@ -0,0 +1 @@
../scripts_debian/distribution.sh

View File

@ -0,0 +1,10 @@
#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source "${SCRIPTSDIR}/vars.sh"
source "${SCRIPTSDIR}/distribution.sh"
#### '----------------------------------------------------------------------
info ' Installing flash plugin'
#### '----------------------------------------------------------------------
aptInstall adobe-flashplugin

6
scripts_qubuntu/fstab Normal file
View File

@ -0,0 +1,6 @@
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
xen /proc/xen xenfs defaults 0 0

Binary file not shown.

View File

@ -0,0 +1 @@
../scripts_debian/packages_qubes.list

View File

@ -0,0 +1,25 @@
ubuntu-standard
ncurses-term
aptitude
tasksel
sudo
locales
dmsetup
psmisc
emacs
vim-nox
gnupg
firefox
thunderbird
keepassx
git
gnome-terminal
xterm
libfile-mimeinfo-perl
libglib2.0-bin
ltrace
strace
haveged
linux-firmware
linux-firmware-nonfree
software-properties-common

View File

@ -0,0 +1,25 @@
ubuntu-standard
ncurses-term
aptitude
tasksel
sudo
locales
dmsetup
psmisc
emacs
vim-nox
gnupg
firefox
thunderbird
keepassx
git
gnome-terminal
xterm
libfile-mimeinfo-perl
libglib2.0-bin
ltrace
strace
haveged
linux-firmware
linux-firmware-nonfree
software-properties-common

View File

@ -0,0 +1,25 @@
ubuntu-standard
ncurses-term
aptitude
tasksel
sudo
locales
dmsetup
psmisc
emacs
vim-nox
gnupg
firefox
thunderbird
keepassx
git
gnome-terminal
xterm
libfile-mimeinfo-perl
libglib2.0-bin
ltrace
strace
haveged
linux-firmware
linux-firmware-nonfree
software-properties-common

31
scripts_qubuntu/vars.sh Executable file
View File

@ -0,0 +1,31 @@
#!/bin/bash -e
# vim: set ts=4 sw=4 sts=4 et :
source ./functions.sh
# ==============================================================================
# Global variables and functions
# ==============================================================================
# ------------------------------------------------------------------------------
# Temp directory to place installation files and progress markers
# (Do not use /tmp since if built in a real VM, /tmp will be empty on a reboot)
# ------------------------------------------------------------------------------
TMPDIR="/var/lib/qubes-whonix/install"
# Location to grab ubuntu packages
DEBIAN_MIRROR=http://archive.ubuntu.com/ubuntu
# ------------------------------------------------------------------------------
# Location to grab Ubuntu packages
# ------------------------------------------------------------------------------
DEBIAN_MIRROR=http://archive.ubuntu.com/ubuntu
# TODO: Not yet implemented
DEBIAN_MIRRORS=('http://archive.ubuntu.com/ubuntu',
)
# ------------------------------------------------------------------------------
# apt-get configuration options
# ------------------------------------------------------------------------------
APT_GET_OPTIONS="-o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --force-yes --yes"