From cb7c6cacc0245f81a0171a10bee1806c27a5b3e1 Mon Sep 17 00:00:00 2001 From: Arvind Chauhan Date: Wed, 12 Sep 2018 09:37:39 +0100 Subject: platform-ci: Modify order of release zip creation for SGI and SGM platforms Zip creation for SGI575 is missing few files. This patch ensures write completion. Signed-off-by: Arvind Chauhan --- platforms-ci.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platforms-ci.sh b/platforms-ci.sh index 1e3e872..6f28523 100755 --- a/platforms-ci.sh +++ b/platforms-ci.sh @@ -227,11 +227,13 @@ function create_release_zip cp $workspace/model-scripts/sgm775/run_model.sh $to sed -i 's#ROOTDIR="../../output/sgm775"#ROOTDIR="."#' $to/run_model.sh cp -R $from/* $to + sync ;; sgi575 ) cp $workspace/model-scripts/sgi575/run_model.sh $to sed -i 's#ROOTDIR="../../output/sgi575"#ROOTDIR="."#' $to/run_model.sh cp -R $from/* $to + sync ;; * ) echo "WARNING: variant not recognised" @@ -393,8 +395,6 @@ dobuilds sgm775 $YYMM mkdir ${job_output_dir} # Create the recovery directories for each variant -create_release_zip sgi575 sgi575 busybox uefi sgi575-latest-busybox-uefi -create_release_zip sgm775 sgm775 busybox uboot sgm775-ack-busybox-uboot create_release_zip juno ${PINNED}latest busybox uboot juno-latest-busybox-uboot create_release_zip juno ${PINNED}latest oe uboot juno-latest-oe-uboot create_release_zip juno ${PINNED}ack android uboot juno-ack-android-uboot @@ -414,6 +414,8 @@ create_release_zip juno32 ${PINNED}ack busybox uboot juno32-ack-busybox-ubo create_release_zip juno32 ${PINNED}latest oe uboot juno32-latest-oe-uboot #create_release_zip juno32 ${PINNED}lsk android uboot juno32-lsk-android-uboot #create_release_zip juno32 ${PINNED}uefi uefi uefi juno32-uefi +create_release_zip sgm775 sgm775 busybox uboot sgm775-ack-busybox-uboot +create_release_zip sgi575 sgi575 busybox uefi sgi575-latest-busybox-uefi echo PWD: $PWD echo "ls -al" -- cgit v1.2.3