From efe8eb3fc8cc46da0e2360525a999ca741d7b6e6 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Thu, 12 May 2022 13:22:39 +0100 Subject: [PATCH] IoT: Move F-36 to compose using the stable branch Signed-off-by: Peter Robinson --- fedora-iot.ks | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fedora-iot.ks b/fedora-iot.ks index cb1eeff..23ac7cd 100644 --- a/fedora-iot.ks +++ b/fedora-iot.ks @@ -19,7 +19,7 @@ autopart --nohome --noswap --type=plain # Equivalent of %include fedora-repo.ks # Pull from the ostree repo that was created during the compose -ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/devel/${basearch}/iot +ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/stable/${basearch}/iot reboot @@ -45,14 +45,14 @@ fi # Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes. # We want consumers of this image to track the two week releases. -ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/devel/${arch}/iot" +ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/stable/${arch}/iot" # Make sure the ref we're supposedly sitting on (according # to the updated origin) exists. -ostree refs "fedora-iot:fedora/devel/${arch}/iot" --create "fedora-iot:fedora/devel/${arch}/iot" +ostree refs "fedora-iot:fedora/stable/${arch}/iot" --create "fedora-iot:fedora/stable/${arch}/iot" # Remove the old ref so that the commit eventually gets cleaned up. -ostree refs "fedora-iot:fedora/devel/${arch}/iot" --delete +ostree refs "fedora-iot:fedora/stable/${arch}/iot" --delete # delete/add the remote with new options to enable gpg verification # and to point them at the cdn url