mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-12 13:57:08 +00:00
Purge initramfs-tools from minimized images.
This commit is contained in:
parent
4d1b06a0f6
commit
7798e70d8f
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -1,7 +1,11 @@
|
||||
livecd-rootfs (2.472) UNRELEASED; urgency=medium
|
||||
|
||||
[ Michael Hudson-Doyle ]
|
||||
* Add snap.subiquity.started.service to subiquity.service's Requires=.
|
||||
|
||||
[ Steve Langasek ]
|
||||
* Purge initramfs-tools from minimized images.
|
||||
|
||||
-- Michael Hudson-Doyle <mwhudson@debian.org> Mon, 09 Oct 2017 15:09:56 +1300
|
||||
|
||||
livecd-rootfs (2.471) artful; urgency=medium
|
||||
|
@ -210,6 +210,20 @@ EOF
|
||||
|
||||
lb chroot "$@"
|
||||
|
||||
if [ "${SUBPROJECT:-}" = minimized ]; then
|
||||
# force removal of initramfs-tools, which we assert is not
|
||||
# required for any minimized images but is still pulled in by
|
||||
# default
|
||||
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get -y purge initramfs-tools"
|
||||
# temporary workaround: don't remove linux-base which
|
||||
# may have no other reverse-depends currently
|
||||
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||
apt-mark manual linux-base"
|
||||
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get -y --purge autoremove"
|
||||
fi
|
||||
|
||||
if [ -f config/oem-config-preinstalled ]; then
|
||||
|
||||
# This is cargo-culted almost verbatim (with some syntax changes for
|
||||
|
Loading…
x
Reference in New Issue
Block a user