Skip to content
Snippets Groups Projects
Commit e3b5a92a authored by Natanael Copa's avatar Natanael Copa
Browse files

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
No related branches found
Tags v20191219
No related merge requests found
......@@ -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/
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment