#757 IoT: setup ostree from f34/devel branched
Merged 3 years ago by pbrobinson. Opened 3 years ago by pbrobinson.
pbrobinson/fedora-kickstarts f34-iot  into  f34

file modified
+4 -4
@@ -19,7 +19,7 @@ 

  

  # 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/rawhide/${basearch}/iot

+ ostreesetup --nogpg --osname=fedora-iot --remote=fedora-iot --url=https://kojipkgs.fedoraproject.org/compose/iot/repo/ --ref=fedora/devel/${basearch}/iot

  

  reboot

  
@@ -44,14 +44,14 @@ 

  

  # 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/rawhide/${arch}/iot"

+ ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/devel/${arch}/iot"

  

  # Make sure the ref we're supposedly sitting on (according

  # to the updated origin) exists.

- ostree refs "fedora-iot:fedora/rawhide/${arch}/iot" --create "fedora-iot:fedora/rawhide/${arch}/iot"

+ ostree refs "fedora-iot:fedora/devel/${arch}/iot" --create "fedora-iot:fedora/devel/${arch}/iot"

  

  # Remove the old ref so that the commit eventually gets cleaned up.

- ostree refs "fedora-iot:fedora/rawhide/${arch}/iot" --delete

+ ostree refs "fedora-iot:fedora/devel/${arch}/iot" --delete

  

  # delete/add the remote with new options to enable gpg verification

  # and to point them at the cdn url

Pull-Request has been merged by pbrobinson

3 years ago
Metadata