diff options
author | Peri Diane Jones <dsmouse@users.noreply.github.com> | 2018-08-11 16:01:35 -0400 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-08-12 03:01:35 +0700 |
commit | 45fd1b144035540d31a23333affe08604b8d10f3 (patch) | |
tree | 420cc8f68d0ea5a8fed9565bd93e48c8fd3f7580 /scripts | |
parent | 1d00a354fe8889c922899cdb0438e49bea2f54ff (diff) | |
download | vyos-build-45fd1b144035540d31a23333affe08604b8d10f3.tar.gz vyos-build-45fd1b144035540d31a23333affe08604b8d10f3.zip |
Docker build improvements
Fix missing dependencies and repositories, make the makefile exit with 1 if ISO file wasn't built.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/copy-image | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/copy-image b/scripts/copy-image index 01af511d..75e15b37 100755 --- a/scripts/copy-image +++ b/scripts/copy-image @@ -4,4 +4,6 @@ BUILD_DIR=$(scripts/query-json build/build-config.json build_dir) BUILD_ARCH=$(scripts/query-json build/build-config.json architecture) VERSION=$(cat $BUILD_DIR/version) -ln -nsf $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso +ln -rnsf $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso + + |