+grml-debootstrap (0.21) unstable; urgency=low
+
+ * Make sure it works on target directories also if they are
+ *not* mounted separately. Thanks for reporting, Tong.
+
+ -- Michael Prokop <mika@grml.org> Tue, 02 Sep 2008 23:19:05 +0200
+
grml-debootstrap (0.20) unstable; urgency=low
* Use root=UUID=... by default if possible to avoid possible
# variables {{{
PN="$(basename $0)"
-VERSION='0.20'
+VERSION='0.21'
MNTPOINT="/mnt/debootstrap.$$"
# inside the chroot system locales might not be available, so use minimum:
if ! grep -q $MNTPOINT /proc/mounts ; then
mount_target
fi
- if grep -q $MNTPOINT /proc/mounts ; then
+ if grep -q $MNTPOINT /proc/mounts || [ -n "$DIRECTORY" ] ; then
einfo "Running $DEBOOTSTRAP for release ${RELEASE}${ARCHINFO} using ${MIRROR}${ISO}"
[ -n "$MIRROR" ] && $DEBOOTSTRAP $ARCHCMD $RELEASE $MNTPOINT $MIRROR || \
$DEBOOTSTRAP $ARCHCMD $RELEASE $MNTPOINT $ISO