live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Add hostname to the list of writable files

This commit is contained in:
Chris Wayne 2014-01-13 23:55:13 -05:00
parent 03764235e8
commit 2cc7d04ffd

View File

@ -4,7 +4,7 @@ set -x
mkdir -p /etc/writable
for f in timezone localtime machine-info; do
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