mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
mk-sbuild: cp localtime and timezone a little harder (LP: #1569400)
This commit is contained in:
parent
53dc45e6e3
commit
0575dd0112
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
ubuntu-dev-tools (0.157) unstable; urgency=medium
|
||||||
|
|
||||||
|
* mk-sbuild: cp localtime and timezone a little harder (LP: #1569400)
|
||||||
|
|
||||||
|
-- Adam Conrad <adconrad@debian.org> Sun, 08 May 2016 23:58:48 -0600
|
||||||
|
|
||||||
ubuntu-dev-tools (0.156) unstable; urgency=medium
|
ubuntu-dev-tools (0.156) unstable; urgency=medium
|
||||||
|
|
||||||
[ Adam Conrad ]
|
[ Adam Conrad ]
|
||||||
|
@ -713,7 +713,7 @@ cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
|
|||||||
rm -f "$TEMP_SOURCES"
|
rm -f "$TEMP_SOURCES"
|
||||||
|
|
||||||
# Copy the timezone (comment this out if you want to leave the chroot at UTC)
|
# Copy the timezone (comment this out if you want to leave the chroot at UTC)
|
||||||
sudo cp /etc/localtime /etc/timezone "$MNT"/etc/
|
sudo cp -P --remove-destination /etc/localtime /etc/timezone "$MNT"/etc/
|
||||||
# Create a schroot entry for this chroot
|
# Create a schroot entry for this chroot
|
||||||
TEMP_SCHROOTCONF=`mktemp -t schrootconf-XXXXXX`
|
TEMP_SCHROOTCONF=`mktemp -t schrootconf-XXXXXX`
|
||||||
TEMPLATE_SCHROOTCONF=~/.mk-sbuild.schroot.conf
|
TEMPLATE_SCHROOTCONF=~/.mk-sbuild.schroot.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user