aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-01-29 23:55:36 +0000
committerMichael Brown <mcb30@ipxe.org>2021-01-29 23:55:36 +0000
commit25b675c3db2120aed06f05c0b0cec4b9939d7f76 (patch)
treee0a2df3623c1970b5146e0ccdb9149a5d58110e4
parent9557497e78e49d915e874e2e1cd0ed7578025c98 (diff)
downloadipxe-25b675c3db2120aed06f05c0b0cec4b9939d7f76.zip
ipxe-25b675c3db2120aed06f05c0b0cec4b9939d7f76.tar.gz
ipxe-25b675c3db2120aed06f05c0b0cec4b9939d7f76.tar.bz2
[build] Ensure that isolinux.bin is modifiable
The -boot-info-table option to mkisofs will cause it to overwrite a portion of the local copy of isolinux.bin. Ensure that this file is writable. Originally-implemented-by: Nikolai Lifanov <lifanov@mail.lifanov.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rwxr-xr-xsrc/util/genfsimg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/genfsimg b/src/util/genfsimg
index c776d66..419c3f8 100755
--- a/src/util/genfsimg
+++ b/src/util/genfsimg
@@ -106,7 +106,7 @@ copy_syslinux_file() {
/usr/lib/ISOLINUX \
; do
if [ -e "${SRCDIR}/${FILENAME}" ] ; then
- cp "${SRCDIR}/${FILENAME}" "${DESTDIR}/"
+ install -m 644 "${SRCDIR}/${FILENAME}" "${DESTDIR}/"
return 0
fi
done