diff --git a/debian/changelog b/debian/changelog index 45ab99d..2dafe7f 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,9 @@ ubuntu-dev-tools (0.74) UNRELEASED; urgency=low - * mk-sbuild-lv: skip security repo for Debian unstable, thanks to - Ryan Niebur (LP: #371569). + * mk-sbuild-lv: + - skip security repo for Debian unstable, thanks to Ryan Niebur + (LP: #371569). + - change directory out of the way of schroot problems. -- Kees Cook Mon, 04 May 2009 09:11:42 -0700 diff --git a/mk-sbuild-lv b/mk-sbuild-lv index 01f7ab7..5656a73 100755 --- a/mk-sbuild-lv +++ b/mk-sbuild-lv @@ -26,6 +26,10 @@ # It will deal with sbuild having not be installed and configured before. set -e +# For when schroot enters the chroot, we cannot be in a directory that +# will not exist in the chroot. +cd / + # Make sure we've got a regular user if [ -w /etc/passwd ]; then echo "Please run this script as a regular user, not root." >&2