|
|
|
@ -158,6 +158,14 @@ EOF
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
# This is cargo-culted almost verbatim (with some syntax changes for
|
|
|
|
|