Skip to content

Commit e9c80eb

Browse files
author
Rich Persaud
committed
do_build.sh: for PXE builds, symlink latest output
Create a symlink (build-output/_do_build_latest) to the most recent build output directory. This can be used to specify the location of an HTTP package repository for PXE installs. OXT-1736 Signed-off-by: Rich Persaud <rich.persaud@baesystems.com>
1 parent 55a5221 commit e9c80eb

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

do_build.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,6 +1241,12 @@ do_ship()
12411241
do_info
12421242
do_logs
12431243
fi
1244+
1245+
pushd $OUTPUT_DIR
1246+
SYMLINK_OUTPUT="_do_build_latest"
1247+
rm -f $SYMLINK_OUTPUT
1248+
ln -s $NAME $SYMLINK_OUTPUT
1249+
popd
12441250
}
12451251

12461252
do_copy()

0 commit comments

Comments
 (0)