Commit graph

544 commits

Author SHA1 Message Date
Timothée Ravier
c23d23e933 common: Add workaround for issue with newer GRUB2
New GRUB2 config modules are causing issues on Atomic Desktops systems
as the new GRUB2 config get regenerated with new options that are not
supported by the currently installed version of GRUB2.

The root cause is that we don't (yet) systematically update the
bootloader on Atomic Desktops. This is related to:
https://gitlab.com/fedora/ostree/sig/-/issues/1

Temporarily remove / modify those config modules from the GRUB2 set of
configs used to generate the final GRUB2 config, until we are able to
enable bootloader updates by default.

See: https://github.com/fedora-silverblue/issue-tracker/issues/587
See: https://bugzilla.redhat.com/show_bug.cgi?id=2305291
2024-08-29 18:41:18 +02:00
Timothée Ravier
47a85fb29e comps-sync-exclude-list: glibc-all-langpacks is always included
There is no need for each variant to include glibc-all-langpacks as it
is included for everyone in the common-packages.yaml manifest.

See: https://pagure.io/fedora-comps/pull-request/1017
2024-08-29 16:57:35 +02:00
Timothée Ravier
3ab10ac406 comps-sync f42 2024-08-20
See: https://pagure.io/fedora-comps/pull-request/1008
2024-08-20 17:23:52 +02:00
Timothée Ravier
bed8509fd8 common: Keep fuse for AppImage compatibility
See: https://gitlab.com/fedora/ostree/sig/-/issues/50
See: https://github.com/fedora-silverblue/issue-tracker/issues/589
2024-08-20 10:45:09 +02:00
Timothée Ravier
29a43767df comps-sync f42 2024-08-20
See: https://pagure.io/fedora-comps/pull-request/1006
2024-08-20 10:41:14 +02:00
Timothée Ravier
a4d4263ee8 ci: Temporarily skip building the base variant
The Fedora 40 cloud images are currently limited in disk space in
SoftwareFactory. Let's only check for dependencies for now until this is
fixed.

See: https://pagure.io/fedora-ci/general/issue/488
2024-08-19 19:51:53 +02:00
Timothée Ravier
84c558c67f Fix un-symlinked manifests from branching
Fixes: https://pagure.io/workstation-ostree-config/pull-request/546
2024-08-19 15:52:18 +02:00
Timothée Ravier
fce34fbbc6 README: Update branching instructions
- Tell sed to follow symlinks insteads of creating new copies of files.
- Fix glob for rawhide repo removal sed call
2024-08-19 15:52:18 +02:00
Adam Williamson
8189df6389 comps-sync f42 2024-08-15
See: https://pagure.io/workstation-ostree-config/pull-request/547

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-08-15 17:08:02 -04:00
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