publish-artefacts: Add deployment BSP support on x86_64

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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Aaron Chan 2018-08-29 21:25:54 +08:00 committed by Richard Purdie
parent 00cc47124c
commit 842def0599

View File

@ -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