From 130cbd02c4a029280cd8933353fd8e6c8915c9f5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 24 Dec 2019 14:23:01 +0000 Subject: scripts/mkimg.netboot.sh: make initramfs readable we hardened the read permissions in 27b8dc5bd034 (main/mkinitfs: fix permissions of initramfs) this broke netboot. ref #11071 --- scripts/mkimg.netboot.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/mkimg.netboot.sh') diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh index d0ad723fd2a..8520fc60dd4 100755 --- a/scripts/mkimg.netboot.sh +++ b/scripts/mkimg.netboot.sh @@ -2,6 +2,8 @@ create_image_netboot() { rm -rf "${OUTDIR}"/netboot-$RELEASE "${OUTDIR}"/netboot cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE ln -s netboot-$RELEASE "${OUTDIR}"/netboot + # let webserver read initramfs + chmod a+r "${OUTDIR}"/netboot-$RELEASE/* tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/ } -- cgit v1.2.3