From 9f3e5fe8d968f79fbd1f4c60fb6b020758fe8510 Mon Sep 17 00:00:00 2001 From: Raphaƫl Hertzog Date: Mon, 20 Nov 2017 22:20:47 +0100 Subject: Fix the way the .disk/mkisofs file is created Thanks to Daniel Reichelt for the patch. Closes: #881941 --- scripts/build/binary_iso | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') 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 -- cgit v1.2.3