[yocto-autobuilder-helper] [PATCH 2/2] publish-artefacts: Update to include newer machines

Richard Purdie <[email protected]>
Newsgroups org.yoctoproject.lists.yocto-patches
Message-ID <[email protected]>
Add genericarm64 and qemuriscv64 to the toolchains list
Add qemuriscv64 to the published images list

Signed-off-by: Richard Purdie <[email protected]>
---
 scripts/publish-artefacts | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/scripts/publish-artefacts b/scripts/publish-artefacts
index b024c09..e56e131 100755
--- a/scripts/publish-artefacts
+++ b/scripts/publish-artefacts
@@ -22,7 +22,7 @@ sha256sums(){
 TMPDIR=$WORKDIR/tmp
 
 case "$target" in
-    "qemuarm"|"qemuarm64"|"qemux86"|"qemux86-64"|"genericx86"|"genericx86-64"|"beaglebone")
+    "qemuarm"|"qemuarm64"|"qemux86"|"qemux86-64"|"qemuriscv64"|"genericx86"|"genericx86-64"|"genericarm64"|"beaglebone")
         sha256sums $TMPDIR/deploy/sdk
         for arch in i686 x86_64 aarch64; do
             mkdir -p $DEST/toolchain/$arch
@@ -131,6 +131,11 @@ case "$target" in
         sha256sums $TMPDIR/deploy/images/genericx86
         cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/genericx86/*genericx86* $DEST/machines/genericx86-alt
         ;;
+    "qemuriscv64")
+        mkdir -p $DEST/machines/qemuriscv64
+        sha256sums $TMPDIR/deploy/images/qemuriscv64
+        cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/qemuriscv64/*qemuriscv64* $DEST/machines/qemuriscv64
+        ;;
     "poky-tiny")
         mkdir -p $DEST/machines/qemu/qemu-tiny
         sha256sums $TMPDIR/deploy/images/qemux86
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.