Sync out Silverblue Rawhide ostree repos for ppc64le and aarch64

Signed-off-by: John Doe <dftxbs3e@free.fr>
This commit is contained in:
John Doe 2019-05-10 19:00:07 +02:00
parent d8d78d2e8e
commit 75ddcd0310

View File

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