diff -Nru lupin-0.56/debian/changelog lupin-0.57/debian/changelog --- lupin-0.56/debian/changelog 2015-07-30 17:21:27.000000000 +0000 +++ lupin-0.57/debian/changelog 2016-02-04 23:12:05.000000000 +0000 @@ -1,3 +1,10 @@ +lupin (0.57) xenial; urgency=medium + + * Set UTC or LOCAL in /etc/adjtime for systemd (based on change by Roger + Leigh in clock-setup 0.111; LP: #1541532). + + -- Colin Watson Thu, 04 Feb 2016 23:12:04 +0000 + lupin (0.56) wily; urgency=medium * Add btrfs to supported filesystems. (LP: #1479760) diff -Nru lupin-0.56/scripts/local-bottom/lupin_setup lupin-0.57/scripts/local-bottom/lupin_setup --- lupin-0.56/scripts/local-bottom/lupin_setup 2015-07-30 17:18:11.000000000 +0000 +++ lupin-0.57/scripts/local-bottom/lupin_setup 2016-02-04 23:11:04.000000000 +0000 @@ -169,8 +169,14 @@ rcsfile=/root/etc/default/rcS if [ "$utc" = true ]; then sed -i -e 's:^UTC="no":UTC="yes":' -e 's:^UTC=no:UTC=yes:' $rcsfile + if [ -e /root/etc/adjtime ]; then + sed -i -e 's:^LOCAL$:UTC:' /root/etc/adjtime + fi else sed -i -e 's:^UTC="yes":UTC="no":' -e 's:^UTC=yes:UTC=no:' $rcsfile + if [ -e /root/etc/adjtime ]; then + sed -i -e 's:^UTC$:LOCAL:' /root/etc/adjtime + fi fi adjust_console_setup