From 9f3e5fe8d968f79fbd1f4c60fb6b020758fe8510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Mon, 20 Nov 2017 22:20:47 +0100 Subject: [PATCH] Fix the way the .disk/mkisofs file is created Thanks to Daniel Reichelt for the patch. Closes: #881941 --- debian/changelog | 2 ++ scripts/build/binary_iso | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 7f948990a..07720ddd5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,8 @@ live-build (1:20170921) UNRELEASED; urgency=medium Thanks to Chris Lamb for the patch. * Accept kernels without initrd. Closes: #878430 Thanks to Balint Reczey for the patch. + * Fix the way the .disk/mkisofs file is created. Closes: #881941 + Thanks to Daniel Reichelt for the patch. -- Raphaƫl Hertzog Mon, 20 Nov 2017 22:02:22 +0100 diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso index 6ddb9dd09..1ca460c02 100755 --- a/scripts/build/binary_iso +++ b/scripts/build/binary_iso @@ -214,7 +214,11 @@ fi cat >> binary.sh << EOF mkdir -p binary/.disk -echo "xorriso -as mkisofs ${XORRISO_OPTIONS} -o ${IMAGE} binary" > binary/.disk/mkisofs +xorriso -as mkisofs ${XORRISO_OPTIONS} -o ${IMAGE} binary +EOF + +# retain the xorriso command used to create the image in the image itself +cat <<-EOF >binary/.disk/mkisofs xorriso -as mkisofs ${XORRISO_OPTIONS} -o ${IMAGE} binary EOF