From 75ddcd0310f6c9a4a7b52097b2f9105c39514648 Mon Sep 17 00:00:00 2001 From: John Doe Date: May 10 2019 17:25:34 +0000 Subject: Sync out Silverblue Rawhide ostree repos for ppc64le and aarch64 Signed-off-by: John Doe --- diff --git a/nightly.sh b/nightly.sh index 8f72ccb..f85fe07 100755 --- a/nightly.sh +++ b/nightly.sh @@ -186,10 +186,12 @@ $RSYNCPREFIX compose-partial-copy --arch=aarch64 \ $RSYNCPREFIX rm "$RSYNCSECTARGET/.composeinfo" $RSYNCPREFIX ./releng/scripts/build_composeinfo "$RSYNCSECTARGET/" --name "$NEWCOMPOSE_ID" - # sync Silverblue to the unified ostree repo -for arch in x86_64; do - ostree pull-local --repo=$OSTREEDESTREPO $OSTREESRCREPO --depth=-1 "fedora/rawhide/${arch}/silverblue" +for arch in x86_64 ppc64le aarch64; do + ref="fedora/rawhide/${arch}/silverblue" + if ! ostree --repo=$OSTREESRCREPO rev-parse "${ref}"; then continue; fi + + ostree pull-local --repo=$OSTREEDESTREPO $OSTREESRCREPO --depth=-1 "${ref}" ostree summary -u --repo=$OSTREEDESTREPO # update summary file done