Branch Fedora 40 from Rawhide

Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
This commit is contained in:
Samyak Jain 2024-02-13 00:24:03 +05:30
parent d6c06a16f9
commit 045ff6a282
2 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ autopart --nohome --noswap --type=plain
# Equivalent of %include fedora-repo.ks # Equivalent of %include fedora-repo.ks
# Pull from the ostree repo that was created during the compose # 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/40/${basearch}/iot
reboot reboot
@ -34,14 +34,14 @@ fi
# Set the origin to the "main ref", distinct from /updates/ which is where bodhi writes. # 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. # 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/40/${arch}/iot"
# Make sure the ref we're supposedly sitting on (according # Make sure the ref we're supposedly sitting on (according
# to the updated origin) exists. # 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/40/${arch}/iot" --create "fedora-iot:fedora/40/${arch}/iot"
# Remove the old ref so that the commit eventually gets cleaned up. # 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/40/${arch}/iot" --delete
# delete/add the remote with new options to enable gpg verification # delete/add the remote with new options to enable gpg verification
# and to point them at the cdn url # and to point them at the cdn url

View File

@ -3,7 +3,7 @@
# Exactly one of the following should be uncommented # Exactly one of the following should be uncommented
# For the master branch the following should be uncommented # For the master branch the following should be uncommented
%include fedora-repo-rawhide.ks # %include fedora-repo-rawhide.ks
# For non-master branches the following should be uncommented # For non-master branches the following should be uncommented
# %include fedora-repo-not-rawhide.ks %include fedora-repo-not-rawhide.ks