Skip to content

Commit 0ff80f0

Browse files
committed
Major-changes: Document the switch to OCI for updates
With the f42 rebase we will switch disk images to use OCI for updates. While this is transparent for most users, it's still a big technical change so it's worth mentionning it, at least so users using can look into it. See https://fedoraproject.org/wiki/Changes/CoreOSOstree2OCIUpdates coreos/fedora-coreos-tracker#1823
1 parent 9dc8d6d commit 0ff80f0

File tree

2 files changed

+33
-2
lines changed

2 files changed

+33
-2
lines changed

modules/ROOT/pages/major-changes.adoc

+32
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,38 @@ This list is in reverse chronological order to keep recent changes at the top.
99

1010
// To add a new change here, see the template at the end of the file.
1111

12+
== Switch to OCI updates
13+
14+
Starting in Fedora 42, Fedora CoreOS will be updating through OCI images instead of the OSTree repo.
15+
Fedora Change request: https://fedoraproject.org/wiki/Changes/CoreOSOstree2OCIUpdates
16+
More discussion: https://github.com/coreos/fedora-coreos-tracker/issues/1823
17+
18+
=== Planning
19+
20+
This change has been introduced first in new disk images for the `next` stream, as part of the Fedora 42 rebase.
21+
The `testing` and `next` streams will follow when they rebase to Fedora 42.
22+
After a few releases we will migrate existing machines through a barrier release.
23+
24+
|===
25+
|Update Stream |Release date
26+
27+
|`next` 42.20250316.1.0 | 2025-03-18
28+
|`testing`| TBD
29+
|`stable`| Will follow `testing` as usual
30+
|===
31+
32+
=== Notes
33+
34+
Currently, Fedora CoreOS hosts pull updates from the OSTree repository.
35+
With this change, the hosts will pull updates from the Quay.io container registry instead.
36+
This should be a transparent change, altough proxied environnements require attention as the nodes will reach to a different address for updates.
37+
38+
Note: Disk images will be updated first, so new installations of Fedora CoreOS based on Fedora 42 will use OCI images.
39+
After a few releases, we will migrate existing nodes.
40+
41+
This change is only scoped to switching to OCI as the transport for Fedora CoreOS content.
42+
Derivation support is still a work in progress, see the tracking issue for more details : https://github.com/coreos/fedora-coreos-tracker/issues/1726
43+
1244
== cgroups v1 support disabled
1345

1446
In systemd v256, cgroups v1 support was disabled.

modules/ROOT/pages/update-streams.adoc

+1-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ sudo systemctl stop zincati.service
5555
# Perform the rebase to a different stream
5656
# Supported architectures: aarch64, x86_64
5757
# Available streams: "stable", "testing", and "next"
58-
ARCH="$(arch)"
5958
STREAM="testing"
60-
sudo rpm-ostree rebase "fedora/${ARCH}/coreos/${STREAM}"
59+
sudo rpm-ostree rebase "ostree-remote-registry:fedora://quay.io/fedora/fedora-coreos:${STREAM}"
6160
----
6261

6362
After inspecting the package difference the user can reboot. After boot the system will be loaded into the latest release on the new stream and will follow that stream for future updates.

0 commit comments

Comments
 (0)