summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-04 16:16:36 +0000
committerChristian Poessinger <christian@poessinger.com>2022-01-20 21:25:01 +0100
commitce491296759df27c1279ee6147dd2efa4d2b198b (patch)
tree322cc0f9c5ed86e84e955bb2f2f46d249323c1d8
parent3e89ba046f49fe124938066b53ca5f712a470bf2 (diff)
downloadvyos-build-ce491296759df27c1279ee6147dd2efa4d2b198b.tar.gz
vyos-build-ce491296759df27c1279ee6147dd2efa4d2b198b.zip
build: qemu: do not use symlinks on generated images
Jenkins can not properly deal with symbolic links. (cherry picked from commit 5c359621dfff2b3d134547aa3be6cddc245a2a5e)
-rwxr-xr-xscripts/copy-image4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/copy-image b/scripts/copy-image
index 75e15b37..536a7dda 100755
--- a/scripts/copy-image
+++ b/scripts/copy-image
@@ -4,6 +4,4 @@ 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 -rnsf $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso
-
-
+cp $BUILD_DIR/live-image-$BUILD_ARCH.hybrid.iso $BUILD_DIR/vyos-$VERSION-$BUILD_ARCH.iso