Fix exclusion of makedev from buildd chroots

debootstrap doesn't respect --exclude for "Priority: required" packages,
so we have to purge makedev later.

LP: #1844504
xenial-1855354
Colin Watson 5 years ago
parent ca8e2b2c7b
commit 6049019a8b

8
debian/changelog vendored

@ -1,3 +1,11 @@
livecd-rootfs (2.408.53) UNRELEASED; urgency=medium
* Fix exclusion of makedev from buildd chroots; debootstrap doesn't
respect --exclude for "Priority: required" packages, so we have to purge
makedev later (LP: #1844504).
-- Colin Watson <cjwatson@ubuntu.com> Tue, 24 Sep 2019 14:30:52 +0100
livecd-rootfs (2.408.52) xenial; urgency=medium
* Exclude makedev from buildd chroots, since it was historically excluded

@ -626,10 +626,6 @@ case $SUBPROJECT in
# likely to involve work both here and in launchpad-buildd.
OPTS="${OPTS:+$OPTS }--security false --volatile false"
# makedev was Priority: required in xenial, but has
# historically been excluded from buildd chroots.
export LB_BOOTSTRAP_EXCLUDE='makedev'
add_package install adduser
add_package install policyrcd-script-zg2
add_package install pkgbinarymangler

@ -0,0 +1,7 @@
#! /bin/sh
set -e
# makedev is "Priority: required" in xenial and so unavoidably installed by
# debootstrap, but it isn't truly required and has historically been
# excluded from buildd chroots.
apt-get -y purge makedev
Loading…
Cancel
Save