diff --git a/debian/changelog b/debian/changelog index b8a84c1e..c1f1a278 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.162) saucy; urgency=low + + * Ubuntu Touch click package install hook. + + -- Sergio Schvezov Wed, 17 Jul 2013 00:05:49 -0300 + livecd-rootfs (2.161) saucy; urgency=low * drop bashrc mangling from ubuntu-touch builds \o/ diff --git a/live-build/ubuntu-touch/hooks/60-install-click.chroot b/live-build/ubuntu-touch/hooks/60-install-click.chroot new file mode 100755 index 00000000..e20e79c9 --- /dev/null +++ b/live-build/ubuntu-touch/hooks/60-install-click.chroot @@ -0,0 +1,16 @@ +#!/bin/sh + +set -e + +echo "Setting up click packages" + +click_uri=http://people.canonical.com/~sergiusens/click_packages +click_list=$click_uri/click_list + +for package in $(wget -qO- "$click_list") +do + echo "Setting up $package" + wget --no-verbose -O "$package" "$click_uri"/"$package" + click install --user=phablet --force-missing-framework "$package" + rm "$package" +done