* Move asciidoc, docbook-xsl, xsltproc to Build-Depends-Indep.
* Drop $CHROOTMIRROR variable, instead use $MIRROR for debootstrap
as well as inside the chroot.
+ * Provide $MNTPOINT as environment variable for usage inside
+ /etc/debootstrap/scripts/.
- -- Michael Prokop <mika@grml.org> Sat, 07 Mar 2009 14:12:43 +0100
+ -- Michael Prokop <mika@grml.org> Sat, 07 Mar 2009 14:15:32 +0100
grml-debootstrap (0.23) unstable; urgency=low
# execute all scripts in /etc/debootstrap/scripts/ {{{
execute_scripts() {
+ # make sure we have $MNTPOINT available for our scripts
+ export MNTPOINT
if [ -d "$_opt_scripts" ] || [ "$SCRIPTS" = 'yes' ] ; then
[ -d "$_opt_scripts" ] && scripts="$_opt_scripts" || scripts="$CONFFILES/scripts/"
for script in ${scripts}/* ; do
*--scripts* <_directory_>::
Execute scripts from specified directory. This allows customisation of
- the system after the chroot has been set up.
+ the system after the chroot has been set up. The environment variable
+ $MNTPOINT is available inside the scripts for direct access of the chroot.
Default directory: /etc/debootstrap/scripts/
*-t*, *--target* <_target_>::