From 4b74aba181b2662e86abe83acafa2ada8d353967 Mon Sep 17 00:00:00 2001 From: Chris Wayne Date: Mon, 20 Jan 2014 09:22:18 -0500 Subject: [PATCH] only touch /etc/writable/machine-info --- live-build/ubuntu-touch/hooks/03-etc-writable.chroot | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/live-build/ubuntu-touch/hooks/03-etc-writable.chroot b/live-build/ubuntu-touch/hooks/03-etc-writable.chroot index 28756002..c58b4bdd 100755 --- a/live-build/ubuntu-touch/hooks/03-etc-writable.chroot +++ b/live-build/ubuntu-touch/hooks/03-etc-writable.chroot @@ -3,14 +3,12 @@ set -e set -x mkdir -p /etc/writable +touch /etc/writable/machine-info for f in timezone localtime machine-info hostname; do if [ -e /etc/$f ]; then echo "I: Moving /etc/$f to /etc/writable/" mv /etc/$f /etc/writable/$f - else - echo "I: Creating /etc/writable/$f" - touch /etc/writable/$f fi echo "I: Linking /etc/$f to /etc/writable/" ln -s writable/$f /etc/$f