diff --git a/debian/changelog b/debian/changelog index 9559aa4e..a1630516 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.160) UNRELEASED; urgency=low + + * Ubuntu Touch click package install hook. + + -- Sergio Schvezov Wed, 17 Jul 2013 00:05:49 -0300 + livecd-rootfs (2.159) saucy; urgency=low * make touch images source the dbus session address from 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..684b709b --- /dev/null +++ b/live-build/ubuntu-touch/hooks/60-install-click.chroot @@ -0,0 +1,22 @@ +#!/bin/sh -e + +echo "Setting up click packages" +echo "Installing curl to download click" + +apt-get install -y -qq curl + +click_uri=http://people.canonical.com/~sergiusens/click_packages +click_list=$click_uri/click_list +tmp_dir=$(mktemp -d) + +/bin/chmod 755 $tmp_dir +cd $tmp_dir +for package in $(curl $click_list) +do + echo "Setting up $package" + curl --silent --show-error --output $package $click_uri/$package + click install --force-missing-framework $package + rm $package +done + +rmdir $tmp_dir