X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=grml-debootstrap;h=07b769d39557bd3fbddc7c71879e8500dc00799b;hb=95ea844460649c6a3f711b75a60210d2eff44c30;hp=93bcbbf586baa9cb1e2620df0aaaa894d23ffd63;hpb=e781fc540f6654d5249813f85ff7fb49de73396f;p=grml-debootstrap.git diff --git a/grml-debootstrap b/grml-debootstrap index 93bcbbf..07b769d 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -535,6 +535,7 @@ prompt_for_release() squeeze Debian/6.0 \ wheezy Debian/7.0 \ jessie Debian/8.0 \ + stretch Debian/9.0 \ sid Debian/unstable)" [ $? -eq 0 ] || bailout } @@ -838,7 +839,7 @@ fi # Support for generic release codenames is unavailable. {{{ if [ "$RELEASE" = "stable" ] || [ "$RELEASE" = "testing" ] ; then eerror "Generic release codenames (stable, testing) are unsupported. \ -Please use specific codenames such as lenny, squeeze, wheezy or jessie." ; eend 1 +Please use specific codenames such as lenny, squeeze, wheezy, jessie or stretch." ; eend 1 bailout 1 fi # }}} @@ -1132,7 +1133,7 @@ finalize_vm() { umount "${MNTPOINT}"/proc umount "${MNTPOINT}"/sys umount "${MNTPOINT}"/dev/pts - umount "${MNTPOINT}"/dev + try_umount 3 "${MNTPOINT}"/dev umount "${MNTPOINT}" kpartx -d "${ORIG_TARGET}" >/dev/null }