do not handle /etc/adjtime, it should not be in phone builds altogether

This commit is contained in:
Martin Pitt 2013-09-30 09:35:08 +02:00
parent 7e84ea20c6
commit 3e85549e36
2 changed files with 2 additions and 2 deletions

2
debian/changelog vendored
View File

@ -2,7 +2,7 @@ livecd-rootfs (2.190) UNRELEASED; urgency=low
* ubuntu-touch: Add 03-etc-writable.chroot hook to move/symlink files in
/etc to /etc/writable/ that we need to update atomically. At the moment
these are adjtime, timezone, localtime. (LP: #1227520)
these are timezone and localtime. (LP: #1227520)
-- Martin Pitt <martin.pitt@ubuntu.com> Wed, 25 Sep 2013 11:06:03 +0200

View File

@ -4,7 +4,7 @@ set -x
mkdir -p /etc/writable
for f in adjtime timezone localtime; do
for f in timezone localtime; do
if [ -e /etc/$f ]; then
echo "I: Moving /etc/$f to /etc/writable/"
mv /etc/$f /etc/writable/$f