mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-06-08 08:32:19 +00:00
Import patches-unapplied version 2.181 to ubuntu/saucy-proposed
Imported using git-ubuntu import. Changelog parent: 76a7bc7c535133df9e53de1e6e6459d8b7a38d06 New changelog entries: * Use new multiple-database scheme in click 0.4.3 to preinstall click packages. * Download core click packages from the right place when building images outside the Canonical datacentre.
This commit is contained in:
parent
76a7bc7c53
commit
647e5bbcb6
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -1,3 +1,12 @@
|
|||||||
|
livecd-rootfs (2.181) saucy; urgency=low
|
||||||
|
|
||||||
|
* Use new multiple-database scheme in click 0.4.3 to preinstall click
|
||||||
|
packages.
|
||||||
|
* Download core click packages from the right place when building images
|
||||||
|
outside the Canonical datacentre.
|
||||||
|
|
||||||
|
-- Colin Watson <cjwatson@ubuntu.com> Thu, 05 Sep 2013 11:29:17 +0100
|
||||||
|
|
||||||
livecd-rootfs (2.180) saucy; urgency=low
|
livecd-rootfs (2.180) saucy; urgency=low
|
||||||
|
|
||||||
* make sure the NM configuration mangling of touch images uses the sudo and
|
* make sure the NM configuration mangling of touch images uses the sudo and
|
||||||
|
@ -4,14 +4,28 @@ set -e
|
|||||||
|
|
||||||
echo "Setting up click packages"
|
echo "Setting up click packages"
|
||||||
|
|
||||||
|
case $(hostname --fqdn) in
|
||||||
|
*.ubuntu.com)
|
||||||
click_uri=http://archive-team.internal/click_packages
|
click_uri=http://archive-team.internal/click_packages
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
click_uri=http://people.canonical.com/~ubuntu-archive/click_packages
|
||||||
|
;;
|
||||||
|
esac
|
||||||
click_list=$click_uri/click_list
|
click_list=$click_uri/click_list
|
||||||
click_dir=/usr/share/preinstalled/click
|
click_db=/usr/share/click/preinstalled
|
||||||
|
|
||||||
mkdir -p "$click_dir"
|
mkdir -p -m 755 "$click_db"
|
||||||
|
chown clickpkg:clickpkg "$click_db"
|
||||||
|
|
||||||
|
tmpdir="$(mktemp -d)"
|
||||||
|
cleanup () { rm -rf "$tmpdir"; }
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
for package in $(wget -qO- "$click_list")
|
for package in $(wget -qO- "$click_list")
|
||||||
do
|
do
|
||||||
echo "Setting up $package"
|
echo "Setting up $package"
|
||||||
wget --no-verbose -O "$click_dir"/"$package" "$click_uri"/"$package"
|
wget --no-verbose -O "$tmpdir/$package" "$click_uri/$package"
|
||||||
|
click install --force-missing-framework --root="$click_db" --all-users \
|
||||||
|
"$tmpdir/$package"
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user