[yocto] [yocto-autobuilder-helper][PATCH 5/6] publish-artefacts: Add deployment BSP support on x86_64

Aaron Chan aaron.chun.yew.chan at intel.com
Wed Aug 29 06:25:54 PDT 2018


Add in the support to publish images into the designated path.
BSP packages of the previous build will be cleaned up before
new BSP packages are copied over. This ensures the previous
image will not be retained and causes conflicts before image
is loaded into x86_64 (MTURBOT64) hardware.

Signed-off-by: Aaron Chan <aaron.chun.yew.chan at intel.com>
---
 scripts/publish-artefacts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/scripts/publish-artefacts b/scripts/publish-artefacts
index 83a4094..3418de2 100755
--- a/scripts/publish-artefacts
+++ b/scripts/publish-artefacts
@@ -137,6 +137,14 @@ case "$target" in
         md5sums $TMPDIR/deploy/images/genericx86-64
         cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/genericx86-64/*genericx86-64* $DEST/machines/genericx86-64-lsb
         ;;
+    "nightly-x86-64-bsp")
+        rm -rf $DEST/$target/images/intel-corei7-64/*
+        mkdir -p $DEST/$target/images/intel-corei7-64
+        md5sums $TMPDIR/deploy/images/intel-corei7-64
+        cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/intel-corei7-64/bzImage* $DEST/$target/images/intel-corei7-64
+        cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/intel-corei7-64/*core-image-sato-sdk-intel-corei7-64*tar* $DEST/$target/images/intel-corei7-64
+        cp -R --no-dereference --preserve=links $TMPDIR/deploy/images/intel-corei7-64/*modules-* $DEST/$target/images/intel-corei7-64
+        ;;
     "nightly-x86")
         mkdir -p $DEST/machines/qemu/qemux86
         md5sums $TMPDIR/deploy/images/qemux86
-- 
2.11.0



More information about the yocto mailing list