Remove releasever from manifests; add pungi treefile stubs

As agreed in https://gitlab.com/fedora/bootc/tracker/-/issues/39, we're
going to be maintaining the treefile for all Fedora versions in the
`main` branch. Accordingly stop hardcoding releasevers and repos in
the treefiles.

But for now, we're still building the official image in pungi using the
non-container-native path, so add compatibility stubs to not break it.

Coincidentally, this doubles down on the proposed API to build the base
images for different Fedora versions using the `--from` switch. Document
this in the README. But note this doesn't work yet because nothing is
telling rpm-ostree which repos to use or what the releasever should be.
This commit is contained in:
Jonathan Lebon committed 2024-10-23 15:27:50 -04:00
1 parent 0980197ad9
commit 6315275af7
7 files changed
+32 -12

No files matched your search

+12
View File
@@ -32,6 +32,18 @@ podman build --security-opt=label=disable --cap-add=all \
See the `Containerfile` for more details. This builds the default `tier-1` image. See the `Containerfile` for more details. This builds the default `tier-1` image.
## Fedora versions
By default, the base images are built for Fedora rawhide. To build against a
different Fedora version, you can override the `FROM` image used to obtain the
Fedora repos and dnf variables. E.g.:
```
podman build --from quay.io/fedora/fedora:41 ...
```
WIP: THIS DOESN'T WORK YET.
### Deriving ### Deriving
You are of course also free to fork, customize, and build base images yourself. You are of course also free to fork, customize, and build base images yourself.
+7
View File
@@ -0,0 +1,7 @@
# NB: This treefile is used by the legacy pungi path only to build tier-1. It
# will be removed in the future.
releasever: 40
repos:
- fedora
- fedora-updates
include: fedora-bootc.yaml
+7
View File
@@ -0,0 +1,7 @@
# NB: This treefile is used by the legacy pungi path only to build tier-1. It
# will be removed in the future.
releasever: 41
repos:
- fedora
- fedora-updates
include: fedora-bootc.yaml
-4
View File
@@ -1,7 +1,3 @@
releasever: rawhide
repos:
- rawhide
metadata: metadata:
name: fedora-boot-tier1 name: fedora-boot-tier1
summary: Fedora Bootable Tier 1 summary: Fedora Bootable Tier 1
+6
View File
@@ -0,0 +1,6 @@
# NB: This treefile is used by the legacy pungi path only to build tier-1. It
# will be removed in the future.
releasever: rawhide
repos:
- fedora-rawhide
include: fedora-bootc.yaml
-4
View File
@@ -1,7 +1,3 @@
releasever: rawhide
repos:
- rawhide
metadata: metadata:
name: fedora-boot-tier0 name: fedora-boot-tier0
summary: Fedora Bootable Tier 0 summary: Fedora Bootable Tier 0
-4
View File
@@ -1,7 +1,3 @@
releasever: rawhide
repos:
- rawhide
metadata: metadata:
name: fedora-boot-tier-x name: fedora-boot-tier-x
summary: Fedora Bootable Tier X summary: Fedora Bootable Tier X