mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-05 16:01:34 +00:00
Make sure to remove any initramfs that was generated in a minimized
image.
This commit is contained in:
parent
3d6660594d
commit
cb73e2475e
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.408.22) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
|
* Make sure to remove any initramfs that was generated in a minimized
|
||||||
|
image.
|
||||||
|
|
||||||
|
-- Steve Langasek <steve.langasek@ubuntu.com> Sat, 21 Oct 2017 20:52:38 -0700
|
||||||
|
|
||||||
livecd-rootfs (2.408.21) xenial; urgency=medium
|
livecd-rootfs (2.408.21) xenial; urgency=medium
|
||||||
|
|
||||||
[ Balint Reczey ]
|
[ Balint Reczey ]
|
||||||
|
@ -158,6 +158,14 @@ EOF
|
|||||||
|
|
||||||
lb chroot "$@"
|
lb chroot "$@"
|
||||||
|
|
||||||
|
if [ "${SUBPROJECT:-}" = minimized ]; then
|
||||||
|
# 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-*
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f config/oem-config-preinstalled ]; then
|
if [ -f config/oem-config-preinstalled ]; then
|
||||||
|
|
||||||
# This is cargo-culted almost verbatim (with some syntax changes for
|
# This is cargo-culted almost verbatim (with some syntax changes for
|
||||||
|
Loading…
x
Reference in New Issue
Block a user