From 25b675c3db2120aed06f05c0b0cec4b9939d7f76 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 29 Jan 2021 23:55:36 +0000 Subject: [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 Signed-off-by: Michael Brown --- src/util/genfsimg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1