#! /bin/sh # setup (Bourne shell script) -- Sets up a wheezy chroot dir="$(dirname "$0")" mkdir /wheezy/run/gdm3 dpkg-divert --local --rename /etc/schroot/desktop/fstab install -m 664 -g adm "$dir"/fstab /etc/schroot/desktop/fstab install -m 664 -g adm "$dir"/wheezy.conf /etc/schroot/chroot.d/ # caveat: before mounting /var/run over the chroot's /run, these might be necessary: ## mkdir /var/run/shm ## mkdir /var/run/lock