Commit e3b5a92a authored by Natanael Copa's avatar Natanael Copa

scripts/mkimg.netboot.sh: make initramfs readable

we hardened the read permissions in 27b8dc5b (main/mkinitfs: fix
permissions of initramfs) this broke netboot.

fixes #11071

(cherry picked from commit 130cbd02)
parent bbfa6304
......@@ -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/
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment