diff --git a/fedora-iot.ks b/fedora-iot.ks index 9f8e5a5..5c2cb02 100644 --- a/fedora-iot.ks +++ b/fedora-iot.ks @@ -41,14 +41,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/rawhide/${arch}/iot" +ostree admin set-origin --index 0 fedora-iot https://dl.fedoraproject.org/iot/repo/ "fedora/rawhide/${basearch}/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/rawhide/${basearch}/iot" --create "fedora-iot:fedora/rawhide/$basearch}/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/rawhide/${basearch}/iot" --delete # delete/add the remote with new options to enable gpg verification # and to point them at the cdn url