mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-09 09:02:11 +00:00
Ubuntu Touch click package install hook.
This commit is contained in:
parent
703051b93f
commit
5c03a4f1d0
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
|||||||
|
livecd-rootfs (2.160) UNRELEASED; urgency=low
|
||||||
|
|
||||||
|
* Ubuntu Touch click package install hook.
|
||||||
|
|
||||||
|
-- Sergio Schvezov <sergio.schvezov@canonical.com> Wed, 17 Jul 2013 00:05:49 -0300
|
||||||
|
|
||||||
livecd-rootfs (2.159) saucy; urgency=low
|
livecd-rootfs (2.159) saucy; urgency=low
|
||||||
|
|
||||||
* make touch images source the dbus session address from
|
* make touch images source the dbus session address from
|
||||||
|
22
live-build/ubuntu-touch/hooks/60-install-click.chroot
Executable file
22
live-build/ubuntu-touch/hooks/60-install-click.chroot
Executable file
@ -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
|
Loading…
x
Reference in New Issue
Block a user