diff --git a/debian/changelog b/debian/changelog index afba35a..e156a2d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,7 @@ ubuntu-dev-tools (0.206) UNRELEASED; urgency=medium [ Simon Quigley ] * Read ~/.devscripts in a more robust way, to ideally pick up multi-line variables (Closes: #725418). + * mk-sbuild: default to using UTC for schroots (LP: #2097159). -- Simon Quigley Tue, 04 Mar 2025 13:04:30 -0600 diff --git a/mk-sbuild b/mk-sbuild index e4cc720..2ff985f 100755 --- a/mk-sbuild +++ b/mk-sbuild @@ -928,8 +928,8 @@ if [ -n "$TEMP_PREFERENCES" ]; then sudo mv "$TEMP_PREFERENCES" $MNT/etc/apt/preferences.d/proposed.pref fi -# Copy the timezone (comment this out if you want to leave the chroot at UTC) -sudo cp -P --remove-destination /etc/localtime /etc/timezone "$MNT"/etc/ +# Copy the timezone (uncomment this if you want to use your local time zone) +#sudo cp -P --remove-destination /etc/localtime /etc/timezone "$MNT"/etc/ # Create a schroot entry for this chroot TEMP_SCHROOTCONF=`mktemp -t schrootconf-XXXXXX` TEMPLATE_SCHROOTCONF=~/.mk-sbuild.schroot.conf