jessie-amd64-hook.sh 731 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#!/bin/sh

set -e

rootdir=$1

# common needs rootdir to already be defined.
. /usr/share/vmdebootstrap/common/customise.lib

trap cleanup 0

mount_support
disable_daemons
# prepare_apt_source

chroot ${rootdir} apt-get -q -y install ${TASK_PACKAGES} ${EXTRA_PACKAGES} \
 task-xfce-desktop exim4 mutt info rpcbind pciutils \
 task-ssh-server task-print-server plymouth procmail \
 m4 open-vm-tools apt-listchanges at busybox nfs-common \
 wamerican texinfo plymouth-themes plymouth-x11 uuid-runtime \
 open-vm-tools-dkms open-vm-tools-desktop gettext-base mlocate \
 irqbalance memtest86+ user-setup zerofree

remove_daemon_block
# replace_apt_source

# particular to efi builds
blacklist_qemu_bochs

echo "Customisation complete"