Skip to content
Snippets Groups Projects
Commit 130cbd02 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.

ref #11071
parent 30a5ebf5
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,8 @@ create_image_netboot() { ...@@ -2,6 +2,8 @@ create_image_netboot() {
rm -rf "${OUTDIR}"/netboot-$RELEASE "${OUTDIR}"/netboot rm -rf "${OUTDIR}"/netboot-$RELEASE "${OUTDIR}"/netboot
cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE
ln -s netboot-$RELEASE "${OUTDIR}"/netboot ln -s netboot-$RELEASE "${OUTDIR}"/netboot
# let webserver read initramfs
chmod a+r "${OUTDIR}"/netboot-$RELEASE/*
tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/ 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