live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie

too. (LP: #1437633)
This commit is contained in:
Iain Lane 2015-09-10 12:22:27 +01:00
parent 6813f1c965
commit 5f8d6e06de
2 changed files with 6 additions and 1 deletions

5
debian/changelog vendored
View File

@ -1,8 +1,13 @@
livecd-rootfs (2.343) UNRELEASED; urgency=medium livecd-rootfs (2.343) UNRELEASED; urgency=medium
[ Oliver Grawert ]
* add empty "extrausers" equivalents for subuid and subgid files, else * add empty "extrausers" equivalents for subuid and subgid files, else
adduser falls over in interactive mode when trying to write to them. adduser falls over in interactive mode when trying to write to them.
[ Iain Lane ]
* live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie
too. (LP: #1437633)
-- Oliver Grawert <ogra@ubuntu.com> Wed, 09 Sep 2015 13:28:10 +0200 -- Oliver Grawert <ogra@ubuntu.com> Wed, 09 Sep 2015 13:28:10 +0200
livecd-rootfs (2.342) wily; urgency=medium livecd-rootfs (2.342) wily; urgency=medium

View File

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