mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-14 22:58:23 +00:00
Make sure to remove any initramfs that was generated in a minimized
image.
This commit is contained in:
parent
2b30a986c3
commit
083d58397c
2
debian/changelog
vendored
2
debian/changelog
vendored
@ -1,6 +1,8 @@
|
||||
livecd-rootfs (2.479) UNRELEASED; urgency=medium
|
||||
|
||||
* Purge initramfs-tools from minimized images.
|
||||
* Make sure to remove any initramfs that was generated in a minimized
|
||||
image.
|
||||
|
||||
-- Steve Langasek <steve.langasek@ubuntu.com> Fri, 13 Oct 2017 17:14:58 -0400
|
||||
|
||||
|
@ -217,6 +217,12 @@ EOF
|
||||
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||
apt-get -y purge initramfs-tools busybox-initramfs \
|
||||
busybox-static"
|
||||
# and if initramfs-tools was configured before our kernel,
|
||||
# /etc/kernel/postinst.d/initramfs-tools will have created
|
||||
# an initramfs despite the generic dpkg-divert; so remove it
|
||||
# here.
|
||||
rm -f chroot/boot/initrd.img-*
|
||||
|
||||
# temporary workaround: don't remove linux-base which
|
||||
# may have no other reverse-depends currently
|
||||
Chroot chroot "env DEBIAN_FRONTEND=noninteractive \
|
||||
|
Loading…
x
Reference in New Issue
Block a user