diff -Nru live-build-3.0~a57/debian/changelog live-build-3.0~a57/debian/changelog --- live-build-3.0~a57/debian/changelog 2017-04-01 04:39:55.000000000 +0000 +++ live-build-3.0~a57/debian/changelog 2017-10-02 23:57:51.000000000 +0000 @@ -1,3 +1,10 @@ +live-build (3.0~a57-1ubuntu25.5) xenial; urgency=medium + + [ Balint Reczey ] + * Don't fail when initramfs is not used (LP: #1720217) + + -- Steve Langasek Mon, 02 Oct 2017 16:57:51 -0700 + live-build (3.0~a57-1ubuntu25.4) xenial; urgency=medium * Demoted packages should only be removed after bootstrap if we're doing diff -Nru live-build-3.0~a57/debian/patches/series live-build-3.0~a57/debian/patches/series --- live-build-3.0~a57/debian/patches/series 2017-03-31 11:30:01.000000000 +0000 +++ live-build-3.0~a57/debian/patches/series 2017-10-02 23:57:19.000000000 +0000 @@ -33,3 +33,4 @@ ubuntu-s390x-support.patch ubuntu-initramfs-compression-symlinks.patch ubuntu-debootstrap-demotions.patch +skip-missing-initrd.patch diff -Nru live-build-3.0~a57/debian/patches/skip-missing-initrd.patch live-build-3.0~a57/debian/patches/skip-missing-initrd.patch --- live-build-3.0~a57/debian/patches/skip-missing-initrd.patch 1970-01-01 00:00:00.000000000 +0000 +++ live-build-3.0~a57/debian/patches/skip-missing-initrd.patch 2017-10-02 23:57:05.000000000 +0000 @@ -0,0 +1,20 @@ +Description: Skip installing missing initrd + ... instead of failing. + . +Author: Balint Reczey + +Bug-Ubuntu: https://launchpad.net/bugs/1720217 +Forwarded: no +Last-Update: 2017-09-28 + +--- live-build-3.0~a57.orig/scripts/build/lb_binary_linux-image ++++ live-build-3.0~a57/scripts/build/lb_binary_linux-image +@@ -76,7 +76,7 @@ mkdir -p "${DESTDIR}" + if [ "${LB_LINUX_PACKAGES}" != "none" ] + then + cp chroot/boot/"${LINUX}"-* "${DESTDIR}" +- cp chroot/boot/initrd.img-* "${DESTDIR}" ++ cp chroot/boot/initrd.img-* "${DESTDIR}" 2>&1 || Echo_message "Skipped installing missing initrd." + fi + + case "${LB_INITRAMFS}" in