Fix the way the .disk/mkisofs file is created

Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch.

Closes: #881941
This commit is contained in:
Raphaël Hertzog 2017-11-20 22:20:47 +01:00
parent dae94463e4
commit 9f3e5fe8d9
2 changed files with 7 additions and 1 deletions

2
debian/changelog vendored
View File

@ -5,6 +5,8 @@ live-build (1:20170921) UNRELEASED; urgency=medium
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.
* Fix the way the .disk/mkisofs file is created. Closes: #881941
Thanks to Daniel Reichelt <debian@nachtgeist.net> for the patch.
-- Raphaël Hertzog <hertzog@debian.org> Mon, 20 Nov 2017 22:02:22 +0100

View File

@ -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