diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-24 14:23:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-12-24 15:26:05 +0100 |
commit | e3b5a92a51dac93476569f483cdc90538650df70 (patch) | |
tree | 446930b289b8be4bc7915eedf467b514c73735a3 | |
parent | bbfa63040d53557759616f7ccf08febc1f887122 (diff) | |
download | alpine_aports-e3b5a92a51dac93476569f483cdc90538650df70.tar.bz2 alpine_aports-e3b5a92a51dac93476569f483cdc90538650df70.tar.xz alpine_aports-e3b5a92a51dac93476569f483cdc90538650df70.zip |
scripts/mkimg.netboot.sh: make initramfs readablev3.11.1
we hardened the read permissions in 27b8dc5bd034 (main/mkinitfs: fix
permissions of initramfs) this broke netboot.
fixes #11071
(cherry picked from commit 130cbd02c4a029280cd8933353fd8e6c8915c9f5)
-rwxr-xr-x | scripts/mkimg.netboot.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh index d0ad723fd2..8520fc60dd 100755 --- a/scripts/mkimg.netboot.sh +++ b/scripts/mkimg.netboot.sh | |||
@@ -2,6 +2,8 @@ create_image_netboot() { | |||
2 | rm -rf "${OUTDIR}"/netboot-$RELEASE "${OUTDIR}"/netboot | 2 | rm -rf "${OUTDIR}"/netboot-$RELEASE "${OUTDIR}"/netboot |
3 | cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE | 3 | cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE |
4 | ln -s netboot-$RELEASE "${OUTDIR}"/netboot | 4 | ln -s netboot-$RELEASE "${OUTDIR}"/netboot |
5 | # let webserver read initramfs | ||
6 | chmod a+r "${OUTDIR}"/netboot-$RELEASE/* | ||
5 | tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/ | 7 | tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/ |
6 | } | 8 | } |
7 | 9 | ||