Import patches-unapplied version 2.210 to ubuntu/utopic-proposed

Imported using git-ubuntu import.

Changelog parent: 9ee4945699c0bdedde913d6ee34c026618d30319

New changelog entries:
  * live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
    for whether a package is installed, and check for both python-autopilot
    and python3-autopilot.
This commit is contained in:
Colin Watson 2014-05-16 13:05:07 +01:00 committed by usd-importer
parent 9ee4945699
commit 207a9d2395
2 changed files with 15 additions and 1 deletions

8
debian/changelog vendored
View File

@ -1,3 +1,11 @@
livecd-rootfs (2.210) utopic; urgency=medium
* live-build/ubuntu-touch/hooks/70-reconfigure-autopilot.chroot: Fix test
for whether a package is installed, and check for both python-autopilot
and python3-autopilot.
-- Colin Watson <cjwatson@ubuntu.com> Fri, 16 May 2014 13:05:07 +0100
livecd-rootfs (2.209) utopic; urgency=medium
* live-build/auto/config: Pass any additional command-line arguments on to

View File

@ -7,4 +7,10 @@
echo "making sure phablet user is in the autopilot group"
dpkg -l python-autopilot >/dev/null 2>&1 && dpkg-reconfigure python-autopilot
for pkg in python-autopilot python3-autopilot; do
if dpkg-query -W -f '${Status}\n' "$pkg" 2>/dev/null | \
grep -q ' installed$'; then
dpkg-reconfigure "$pkg"
break
fi
done