Revision 35133aae

b/devel/build_chroot
5 5
: ${DIST_RELEASE=squeeze}
6 6
: ${CONF_DIR:=/etc/schroot/chroot.d}
7 7
: ${CHROOT_DIR:=/srv/chroot}
8
: ${ALTERNATIVE_EDITOR:=/usr/bin/vim.basic}
8 9

  
9 10
#Automatically generated variables
10 11
CHROOTNAME=$DIST_RELEASE-$ARCH
......
150 151
in_chroot -- \
151 152
  cabal install --global shelltestrunner
152 153

  
154
#Set default editor
155
in_chroot -- \
156
  update-alternatives --set editor $ALTERNATIVE_EDITOR
157

  
153 158
rm -f $COMP_FILEPATH
154 159
echo "Creating compressed schroot image..."
155 160
cd $CHDIR

Also available in: Unified diff