1
0
mirror of https://github.com/coreos/fedora-coreos-config.git synced 2026-02-05 09:45:30 +01:00

tree: import changes from testing-devel at eb805db1d5

This commit is contained in:
CoreOS Bot
2026-01-21 13:33:20 +00:00
parent 04d2f67c13
commit 9dad9c799a

View File

@@ -34,8 +34,10 @@ get_fedora_minimal_container_ref() {
echo "${repo}:${tag}"
}
# Look for the "com.coreos.stream" annotation from the container image
get_fcos_stream() {
rpm-ostree status -b --json | jq -r '.deployments[0]["base-commit-meta"]["fedora-coreos.stream"]'
rpm-ostree status -b --json \
| jq --raw-output '.deployments[0]."base-commit-meta"."ostree.container.image-config" | fromjson | .config.Labels."com.coreos.stream"'
}
is_fcos() {