From 5f8d6e06de51a5a6ac8cd864ecf04dc8ce00b14a Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Thu, 10 Sep 2015 12:22:27 +0100 Subject: [PATCH] live-build/ubuntu-touch/hooks/03-etc-writable.chroot: Set up /etc/whoopsie too. (LP: #1437633) --- debian/changelog | 5 +++++ live-build/ubuntu-touch/hooks/03-etc-writable.chroot | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index c073782b..a52d0a32 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,13 @@ livecd-rootfs (2.343) UNRELEASED; urgency=medium + [ Oliver Grawert ] * add empty "extrausers" equivalents for subuid and subgid files, else 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 Wed, 09 Sep 2015 13:28:10 +0200 livecd-rootfs (2.342) wily; urgency=medium diff --git a/live-build/ubuntu-touch/hooks/03-etc-writable.chroot b/live-build/ubuntu-touch/hooks/03-etc-writable.chroot index c58b4bdd..22626c24 100755 --- a/live-build/ubuntu-touch/hooks/03-etc-writable.chroot +++ b/live-build/ubuntu-touch/hooks/03-etc-writable.chroot @@ -5,7 +5,7 @@ set -x mkdir -p /etc/writable 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 echo "I: Moving /etc/$f to /etc/writable/" mv /etc/$f /etc/writable/$f