aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/mkimg.netboot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mkimg.netboot.sh')
-rwxr-xr-xscripts/mkimg.netboot.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mkimg.netboot.sh b/scripts/mkimg.netboot.sh
index 12dd2a6bdd..513fcb8c2e 100755
--- a/scripts/mkimg.netboot.sh
+++ b/scripts/mkimg.netboot.sh
@@ -1,6 +1,7 @@
create_image_netboot() {
- rm -rf "${OUTDIR}"/netboot-$RELEASE
+ rm -rf "${OUTDIR}"/netboot-$RELEASE "${OUTDIR}"/netboot
cp -aL "${DESTDIR}"/boot "${OUTDIR}"/netboot-$RELEASE
+ ln -s netboot-$RELEASE "${OUTDIR}"/netboot
tar -C "${DESTDIR}" -chzf ${OUTDIR}/${output_filename} boot/
}