livecd-rootfs/live-build/buildd/hooks/00-no-makedev.chroot_early
Colin Watson 6049019a8b 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
2019-09-24 14:31:40 +01:00

8 lines
221 B
Bash
Executable File

#! /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