Apply a grievous hack to get debootstrap working against ubuntu-rtm

series.
ubuntu/yakkety
Colin Watson 11 years ago
parent a0abe0888b
commit 09f615034a

2
debian/changelog vendored

@ -3,6 +3,8 @@ livecd-rootfs (2.226) UNRELEASED; urgency=medium
* Disable apt authentication checks when building ubuntu-rtm images
against dogfood (that test archive is signed, but not with a very useful
key).
* Apply a grievous hack to get debootstrap working against ubuntu-rtm
series.
-- Colin Watson <cjwatson@ubuntu.com> Wed, 23 Jul 2014 01:48:35 +0100

@ -573,6 +573,22 @@ if [ "$EXTRA_PPAS" ]; then
config/archives/extra-ppas.key.binary
fi
case $SUBPROJECT in
ubuntu-rtm|ubuntu-rtm/*)
# debootstrap doesn't know about ubuntu-rtm series directly. Rather
# than having to teach it, we employ a few hacks to make it use the
# Ubuntu script instead.
mkdir -p config/fake_debootstrap_dir/scripts
ln -s /usr/share/debootstrap/devices.tar.gz \
config/fake_debootstrap_dir/
ln -s /usr/share/debootstrap/functions config/fake_debootstrap_dir/
ln -s /usr/share/debootstrap/scripts/gutsy \
"config/fake_debootstrap_dir/scripts/$SUITE"
echo 'export DEBOOTSTRAP_DIR="$PWD/config/fake_debootstrap_dir"' \
>> config/bootstrap
;;
esac
# cribbed from cdimage, perhaps this should be a small helper script in germinate?
add_inheritance () {
case " $inherit " in

Loading…
Cancel
Save