From 583d34e58470cbef50f7734cd5f8f3065c353f88 Mon Sep 17 00:00:00 2001 From: Oliver Grawert Date: Tue, 27 Aug 2013 11:23:56 +0200 Subject: [PATCH] Import patches-unapplied version 2.179 to ubuntu/saucy-proposed Imported using git-ubuntu import. Changelog parent: dbc0c8b1aa22a0fb8cff01d1f4b171a12b80e294 New changelog entries: * add 70-reconfigure-autopilot.chroot to ubuntu-touch builds, to make sure the phablet user actually ends up in the autopilot group --- debian/changelog | 7 +++++++ .../ubuntu-touch/hooks/70-reconfigure-autopilot.chroot | 10 ++++++++++ 2 files changed, 17 insertions(+) create mode 100644 live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot diff --git a/debian/changelog b/debian/changelog index 956b90d2..650f8422 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.179) saucy; urgency=low + + * add 70-reconfigure-autopilot.chroot to ubuntu-touch builds, to make sure + the phablet user actually ends up in the autopilot group + + -- Oliver Grawert Tue, 27 Aug 2013 11:23:56 +0200 + livecd-rootfs (2.178) saucy; urgency=low * Copying click packages to install search location instead of installing diff --git a/live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot b/live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot new file mode 100644 index 00000000..0e28394e --- /dev/null +++ b/live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot @@ -0,0 +1,10 @@ +#!/bin/sh + +# make sure the phablet user is in the autopilot group +# (the user is not available when the package postinst +# adds all users of the sudo group to the autopilot one +# so we re-run the package configuration now + +echo "making sure phablet user is in the autopilot group" + +dpkg -l python-autopilot >/dev/null 2>&1 && dpkg-reconfigure python-autopilot