Commit graph

535 commits

Author SHA1 Message Date
Samyak Jain
a52625492b Rawhide is now f42
Signed-off-by: Samyak Jain <samyak.jn11@gmail.com>
2024-08-12 15:28:54 +05:30
Timothée Ravier
1c417f05b4 Kinoite: Include dnf5 in Bootable Containers
Now that we've fixed the dnf debuginfo dependency in plasma-drkonqi, we
can add dnf5 to Kinoite & Kinoite Mobile as well.

See: https://pagure.io/fedora-kde/SIG/issue/519
2024-07-31 16:12:38 +02:00
Timothée Ravier
3587add6e4 ci: Check dependency resolution for classic ostree variants
With the split between classic ostree variants and the Bootable
Container ones, we are starting to diverge in package set for those
images.

Make sure to validate dependency resolution for both variants.
2024-07-26 17:14:41 +02:00
Timothée Ravier
0709c10b47 Include systemd-pcrphase dracut module only on !ppc64le
See: https://pagure.io/workstation-ostree-config/pull-request/518
See: https://gitlab.com/fedora/ostree/sig/-/issues/44
2024-07-26 17:06:23 +02:00
Timothée Ravier
8a4fcf94ce justfile: Remove checks for manifest command 2024-07-26 17:06:23 +02:00
Timothée Ravier
f9184799de Use conditional includes to separate bootable containers
Refactor how we differentiate bootable containers variants from classic
ostree ones using conditional includes.

See: https://coreos.github.io/rpm-ostree/treefile/
2024-07-26 17:06:23 +02:00
Timothée Ravier
9e3a473f73 Enable bootupd for classic ostree variants
See: https://pagure.io/workstation-ostree-config/pull-request/528
2024-07-24 15:47:36 +02:00
Timothée Ravier
7074d1c94f Kinoite: Add plasma-welcome-fedora
This package is explicitely not pulled via the comps group in order to
not be included by default in Fedora derivatives. We don't have a way to
signal that for Kinoite so include it here. Derivatives will have to
remove / disable the package as needed.

See: https://pagure.io/fedora-kde/SIG/issue/295
2024-07-24 11:01:49 +02:00
Timothée Ravier
db84580cda comps-sync f41 2024-07-24
See: https://pagure.io/fedora-comps/pull-request/987
2024-07-24 10:47:30 +02:00
Timothée Ravier
f6ad26eb14 comps-sync-exclude-list: Skip toolbox (already included)
See: https://pagure.io/fedora-comps/pull-request/986
2024-07-23 15:59:32 +02:00
Timothée Ravier
36c70e09ea common: Use add-determinism as workraround for pyc mtime mismatch
See: https://gitlab.com/fedora/bootc/tracker/-/issues/3
See: https://pagure.io/workstation-ostree-config/pull-request/505
See: https://github.com/ostreedev/ostree/issues/1469
2024-07-19 17:13:49 +02:00
Timothée Ravier
9e04e53bfb Revert "postprocess: Workaround for Python timestamp mismatch"
See: https://pagure.io/workstation-ostree-config/pull-request/507
See: https://github.com/keszybz/add-determinism/pull/27
See: https://gitlab.com/fedora/bootc/tracker/-/issues/3

This reverts commit d085e9fecc.
2024-07-19 16:48:03 +02:00
Timothée Ravier
20d8158735 Bootable Containers: Enable composefs by default
Only enabled for bootable containers as we need to remove ostree-grub2
first.

See: https://fedoraproject.org/wiki/Changes/ComposefsAtomicCoreOSIoT
2024-07-17 17:46:39 +02:00
Timothée Ravier
599c862ece Bootable Containers: Remove ostree-grub2
Remove ostree-grub2 to avoid issues with composefs.

We can not remove it yet from the classic ostree ones as we need at
least two Fedora releases where bootupd is included and enabled by
default as a transition period to make sure we don't break users.

See: https://gitlab.com/fedora/ostree/sig/-/issues/35
See: https://github.com/fedora-silverblue/issue-tracker/issues/120
See: https://gitlab.com/fedora/ostree/sig/-/issues/1
2024-07-17 17:46:39 +02:00
Timothée Ravier
4bb588b37b comps-sync f41 2024-07-17
See: https://pagure.io/fedora-comps/pull-request/982
See: https://pagure.io/fedora-comps/pull-request/983
2024-07-17 17:46:39 +02:00
Timothée Ravier
93c6f5e13d Silverblue: Drop X11 from default installation
See: https://fedoraproject.org/wiki/Changes/WaylandOnlyGNOMEWorkstationMedia
2024-07-15 15:34:06 +02:00
Timothée Ravier
9c64ee7b6a comps-sync f41 2024-07-15
See: https://pagure.io/fedora-comps/pull-request/972
See: https://pagure.io/fedora-comps/pull-request/979
2024-07-15 15:25:02 +02:00
Timothée Ravier
c3c1d750c1 Bootable Containers: Enable bootupd
With the following issues now fixed:
- https://github.com/coreos/bootupd/issues/630
- https://github.com/coreos/bootupd/issues/658
- https://github.com/coreos/bootupd/issues/551

And corresponding support in Anaconda:
- https://github.com/rhinstaller/anaconda/pull/5508

We can now (re-)enable bootupd for the bootable containers.

After a bit of testing, we will enable it for the classic ostree ones.

See: https://gitlab.com/fedora/ostree/sig/-/issues/1
2024-06-25 10:02:25 +02:00
Timothée Ravier
1957b4d505 comps-sync f41 2024-06-24 2024-06-24 20:22:49 +02:00
Timothée Ravier
c65a7a512e Bootable Containers: Include DNF5 and bootc
Add DNF5 and bootc to all Atomic Desktops Bootable Containers.

See: https://fedoraproject.org/wiki/Changes/DNFAndBootcInImageModeFedora
See: https://fedoraproject.org/wiki/Changes/SwitchToDnf5
See: https://pagure.io/fedora-comps/pull-request/960

Kinoite variants are temporarily excluded from this change until the
debuginfo plugin is available with DNF5 for DrKonqi.

See: https://pagure.io/fedora-kde/SIG/issue/519
2024-06-21 12:49:48 +02:00
Timothée Ravier
63be95433a Move dnf exclusion to classic ostree variants only
Prepare for DNF5 inclusion in Bootable Containers by moving the
exclusion to a manifest that is included only for the classic ostree
variants.

See: https://fedoraproject.org/wiki/Changes/DNFAndBootcInImageModeFedora
2024-06-21 12:45:44 +02:00
Timothée Ravier
65ddf54fd8 justfile: Force gzip compression format for images
Keep all the containers image compressed with gzip until rpm-ostree with
support for zstd & ztd::chunked images (2024.6) lands in F40 & F39.

See: https://fedoraproject.org/wiki/Changes/zstd:chunked
2024-06-21 12:33:26 +02:00
Timothée Ravier
f72a8fcfe5 justfile: Factor skopeo args for container image upload 2024-06-21 12:25:46 +02:00
Timothée Ravier
3bd5718f4a ci/validate: Test by building a Bootable Container
Switch to building a bootable container by default.
2024-06-19 18:54:02 +02:00
Timothée Ravier
85a0198db5 Update justfile to compose -ostree for legacy 2024-06-19 18:54:02 +02:00
Timothée Ravier
98680de7cf Add compatibility symlinks for classic ostree manifests
Keep stable names for the variants that are currently built in the
Fedora infrastructure.

We can remove those once we have landed the rename in this repo and the
rename in the pungi-fedora config.
2024-06-19 18:54:02 +02:00
Timothée Ravier
47170ee169 Split Bootable Containers manifest from classic ostree ones
To be able to build images in the Fedora infrastructure with distinct
changes in the container vs classic ostree case, we need to split those
into a common manifest and a top level one that includes only the repos
and other distinct includes.
2024-06-19 18:54:02 +02:00
Timothée Ravier
6b402254c9 Use new Atomic names 2024-06-19 18:54:02 +02:00
Timothée Ravier
3a9a0760ef Update manifests names for variants and their package lists
- Strip the 'fedora' prefix from variant names
- Name the packages list manifest for each variant accordingly
2024-06-13 11:30:19 +02:00
Timothée Ravier
28bf47caa9 Move common manifest includes to variants manifests
- Rename common manifests to remove fedora prefix & ostree mention
- Directly include the common manifest in each variant manifest to
  reduces the number of level of indirection for the manifests
2024-06-13 11:30:19 +02:00
Timothée Ravier
f3f8fdb521 initramfs.yaml: Misc empty line fixup 2024-06-13 11:30:19 +02:00
Timothée Ravier
457e89b560 ci: Workaround broken dnf5 in cloud images
See: https://pagure.io/fedora-ci/general/issue/474
2024-06-13 11:30:19 +02:00
Timothée Ravier
6cd2f8437a ci: Update all pacakges on the system first 2024-06-13 11:28:15 +02:00
Micah Abbott
8b18da4c14 README: add note about just
Signed-off-by: Micah Abbott <miabbott@redhat.com>
2024-06-11 09:28:02 -04:00
Timothée Ravier
3b190aff6c common: Setup read only sysroot via ostree config 2024-06-11 10:36:44 +02:00
Timothée Ravier
0667595535 ci/validate: Ignore correctly indented lines starting with [ 2024-06-11 10:36:44 +02:00
Timothée Ravier
440fa5e438 initramfs: Add tpm2-tss & systemd-pcrphase for LUKS unlocking
Enable both modules to make it easier to setup TPM bound LUKS device
unlocking.

See: https://gitlab.com/fedora/ostree/sig/-/issues/33
2024-06-11 10:36:44 +02:00
Timothée Ravier
5585f60aa0 initramfs: Add dracut config for initramfs generation
Add a default dracut configuration for initramfs generation.

This is currently taken from:
- https://gitlab.com/fedora/bootc/base-images/-/blob/main/tier-0/initramfs.yaml
- https://github.com/coreos/fedora-coreos-config/tree/testing-devel/overlay.d/05core/usr/lib/dracut/dracut.conf.d

This will ideally be unified once we complete the Bootable Containers
Initiative roadmap.
2024-06-11 10:36:44 +02:00
Micah Abbott
785ae96dee README: add instructions for using comps-sync.py
Signed-off-by: Micah Abbott <miabbott@redhat.com>
2024-06-11 08:35:52 +00:00
Micah Abbott
158bb31a2e comps-sync f41 2024-06-10
See: https://pagure.io/fedora-comps/pull-request/977
See: https://pagure.io/fedora-comps/pull-request/975

Signed-off-by: Micah Abbott <miabbott@redhat.com>
2024-06-10 15:07:42 -04:00
Timothée Ravier
3762e08a77 Fedora Kinoite Mobile: Add initial manifests
See: https://pagure.io/fedora-kde/SIG/issue/506
See: https://pagure.io/fedora-kde/SIG/issue/41
See: https://pagure.io/fedora-kde/SIG/issue/510
2024-06-04 22:45:21 +02:00
Timothée Ravier
6ee3928c40 comps-sync f41 2024-06-03
See: https://pagure.io/fedora-comps/pull-request/973
See: https://pagure.io/fedora-kde/SIG/issue/522
2024-06-03 20:16:35 +02:00
Timothée Ravier
5e3a12a17d comps-sync f41 2024-05-14
See: https://pagure.io/fedora-kde/SIG/issue/502
See: https://pagure.io/fedora-comps/pull-request/965
2024-05-14 15:28:18 +02:00
Timothée Ravier
5734183ac3 comps-sync f41 2024-04-24
See: https://pagure.io/fedora-comps/pull-request/959
See: https://github.com/fedora-silverblue/issue-tracker/issues/555
2024-04-24 20:27:30 +02:00
Timothée Ravier
aff834d942 fedora-common-ostree: Add slirp4netns
Keep slirp4netns for rootless containers until it's fully deprecated in
podman.

See: https://github.com/fedora-silverblue/issue-tracker/issues/547
See: https://blog.podman.io/2024/03/podman-5-0-breaking-changes-in-detail/
2024-04-12 16:26:01 +00:00
Timothée Ravier
d085e9fecc postprocess: Workaround for Python timestamp mismatch
Python mtime timestamp logic does not work well with ostree force 0
mtime.

Use a small script to post-process all compiled '.pyc' and force the
timestamp to 0.

See: https://github.com/ostreedev/ostree/issues/1469

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2024-04-12 17:39:08 +02:00
Timothée Ravier
fd6487c95f zuul: Verify that the comps and manifests are synced
Best effort (as it will only run on PRs) check for comps / manifests
sync.
2024-04-04 10:17:34 +02:00
Timothée Ravier
abd2d7c6df justfile: Add a recipe to check for comps sync changes
Will be used by Zuul CI.
2024-03-28 18:10:27 +01:00
Timothée Ravier
3672bbd10c comps-sync.py: Return non-zero if changes are needed but not saved
This will let us use that in CI to check for pending comps-sync changes.
2024-03-28 18:09:49 +01:00
Timothée Ravier
8ac9e3e367 Temporarily remove bootupd support
See: https://gitlab.com/fedora/ostree/sig/-/issues/1
2024-03-26 11:26:57 +01:00