Don't fail when initramfs is not used

Signed-off-by: Raphaël Hertzog <hertzog@debian.org>
This commit is contained in:
Balint Reczey 2017-10-13 19:08:53 +02:00 committed by Raphaël Hertzog
parent 1f1dce740e
commit dae94463e4
2 changed files with 3 additions and 1 deletions

2
debian/changelog vendored
View File

@ -3,6 +3,8 @@ live-build (1:20170921) UNRELEASED; urgency=medium
* Use $SOURCE_DATE_EPOCH when updating timestamps of manual pages in order
to make the package reproducible at build time. Closes: #879169
Thanks to Chris Lamb <lamby@debian.org> for the patch.
* Accept kernels without initrd. Closes: #878430
Thanks to Balint Reczey <balint.reczey@canonical.com> for the patch.
-- Raphaël Hertzog <hertzog@debian.org> Mon, 20 Nov 2017 22:02:22 +0100

View File

@ -70,7 +70,7 @@ mkdir -p "${DESTDIR}"
# Installing linux-image
cp chroot/boot/"${LINUX}"-* "${DESTDIR}"
cp chroot/boot/initrd.img-* "${DESTDIR}"
cp chroot/boot/initrd.img-* "${DESTDIR}" 2>&1 || Echo_message "Skip installing missing initrd."
case "${LB_INITRAMFS}" in
live-boot)