Commit graph

334 commits

Author SHA1 Message Date
Timothée Ravier
b2ed244868 ci: Validate (best effort) YAML manifests indentation
Best effort validation to catch common mistakes.
2023-02-16 11:49:46 +01:00
Timothée Ravier
e8667aac40 ci: Ignore ci directory & Zuul config in validation script 2023-02-16 11:49:46 +01:00
Timothée Ravier
9991f5b968 Zuul: Install python3-pyyaml dependency 2023-02-14 12:16:24 +01:00
Fabien Boucher
a5c4320806 Zuul: Explicitely set Zuul job nodeset
See: https://pagure.io/fedora-ci/general/issue/388
2023-02-14 12:16:24 +01:00
Timothée Ravier
9dc9105ddb fedora-common-ostree: Workaround for unified-core mode change
Remove the `loader` directory that conflicts with the `loader` symlink
that is installed by Anaconda.

See: https://pagure.io/pungi-fedora/pull-request/1115
See: fa42c8b425/pyanaconda/modules/payloads/payload/rpm_ostree/installation.py (L307)
2023-02-12 13:54:37 +01:00
Timothée Ravier
636bb97493 Rawhide is now Fedora 39 2023-02-10 15:21:30 +01:00
Timothée Ravier
6652a5e85b comps-sync f38 2023-01-27
See: https://pagure.io/fedora-kde/SIG/issue/293
See: https://pagure.io/fedora-comps/pull-request/793
2023-01-27 12:48:51 +01:00
Timothée Ravier
637f441ba3 comps-sync f38 2023-01-24
See: https://pagure.io/fedora-comps/pull-request/789
2023-01-24 10:26:12 +01:00
Timothée Ravier
18f3fdf975 Update comments about package inclusion 2023-01-24 10:25:42 +01:00
Timothée Ravier
a654df0e59 comps-sync: Do not exclude ncurses
The comps group that we are pulling from do not include ncurses and we
explicitely include it in fedora-common-ostree.yaml thus we don't need
to exclude it.
2023-01-24 10:25:42 +01:00
Timothée Ravier
1c499978bd Kinoite: Keep previous Anaconda dependencies
Removing initial-setup in [1] also removed the dependency to Anaconda
and its dependencies.

Re-add some of Anaconda's dependency so that we don't loose support for
RAID, bcache & mobile-broadband-provider-info.

See: [1] https://pagure.io/fedora-kde/SIG/issue/243
2023-01-23 20:47:21 +01:00
Timothée Ravier
28e833c535 kinoite: Add kamera
Kamera includes a KIO & KCM (which can not come as a Flatpak) which are
used by Dolphin and Gwenview.

See: https://pagure.io/fedora-kde/SIG/issue/291
2023-01-17 21:27:41 +01:00
Aleksei Bavshin
1be244d8c4
comps-sync f38 2023-01-14
Initial sync for Sericea (Sway)
2023-01-14 21:52:15 -08:00
Anthony Rabbito
44d4d094ae
Sericea: initial implementation for Sway desktop variant
Signed-off-by: Anthony Rabbito <hello@anthonyrabbito.com>
Co-authored-by: Aleksei Bavshin <alebastr@fedoraproject.org>
2023-01-14 21:37:20 -08:00
Timothée Ravier
c80c85ea3d
comps-sync.py: Support multiple comps groups for a desktop
Enable fetching packages from multiple comps groups for each desktop.
This is currently unused but this removes the constraints around having
all base packages for a given desktop in a single comps group.

This could also be used to get packages from other groups such as the
input-methods group for example.
2023-01-14 21:37:19 -08:00
Timothée Ravier
d6de81bfc8 comps-sync f38 2023-01-09
See https://pagure.io/fedora-comps/pull-request/788
2023-01-09 14:29:44 +01:00
Timothée Ravier
d028e66d47 kinoite: Exclude tracker & tracker-miners 2022-12-12 19:59:07 +01:00
Timothée Ravier
f50cab0125 comps-sync f38 2022-12-08
For kde-connect:
- https://pagure.io/fedora-kde/SIG/issue/279
- https://pagure.io/fedora-comps/pull-request/783

For xdg-desktop-portal-gnome:
- https://pagure.io/fedora-kde/SIG/issue/266
- https://pagure.io/fedora-comps/pull-request/782
2022-12-08 15:03:53 +01:00
Timothée Ravier
63319c369c kinoite: Remove initial-setup
See: https://fedoraproject.org/wiki/Changes/KDERemoveInitialSetup
2022-12-05 20:02:19 +01:00
Timothée Ravier
66eef7a634 common: Add git-core-doc
Do not include "full" Git as it brings in Perl.
Explicitely add Git docs.

Fixes: https://github.com/fedora-silverblue/issue-tracker/issues/387
2022-11-22 12:49:09 +01:00
Timothée Ravier
3ad45d60a9 comps-sync f38 2022-11-22 2022-11-22 12:21:10 +01:00
Timothée Ravier
d5eb8076bf Kinoite: Install some minor optional tools for KInfoCenter 2022-11-15 19:45:31 +01:00
Timothée Ravier
00c4583d2a passwd: Fix (no)login shell paths
See: https://github.com/coreos/fedora-coreos-tracker/issues/1201
2022-11-10 17:01:09 +00:00
Timothée Ravier
9cf3a29023 group: Fix tape & input GIDs
See: https://github.com/coreos/fedora-coreos-tracker/issues/1201
2022-11-10 17:01:09 +00:00
Adam Williamson
6a689cc380 Drop some now-unneeded manual handling of arch-specific packages
This lets the recently-merged improved arch-specific package
support handle all the arch-specific packages which were
previously excluded in `comps-sync-exclude-list.yml` and listed
manually in `fedora-common-ostree.yaml`. As the diff shows,
the sync script now correctly includes the same packages for
the same arches in `fedora-common-ostree-pkgs.yaml`, plus a few
appropriate additions of things that should be there but had
been left out, on ppc64le and aarch64.

We also drop the `packages-armhfp` and `packages-ppc64` lists,
as we no longer build for either of those arches. This allows
us to move `ostree-grub2` into the non-arch-specific list, since
it's no longer left out on any arch we care about.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-11-09 19:10:17 +00:00
Timothée Ravier
bdbf1cfd08 Revert "Kinoite: Temporarily exclude plasma-discover-rpm-ostree"
The rpm-ostree backend in Discover is now in a good shape and should be
ready for wider testing so let's enable it in Rawhide first and then we
will backport it to F37 once Plasma 5.27 lands there.

See: https://pagure.io/fedora-kde/SIG/issue/133

This reverts commit 82989adb2e.
2022-11-06 14:57:36 +01:00
Colin Walters
a1a8bbe8bb Disable bootupd integration until we use unified core
The bootupd code relies on having `/usr/lib/ostree-boot`, which
we only get in unified core mode.
2022-11-02 20:12:58 +00:00
Adam Williamson
edb7d86d39 comps-sync f38 2022-10-31
This includes corrections for per-arch packages, thanks to the
improvements to comps-sync.py in the previous commit.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-31 16:35:44 -07:00
Adam Williamson
fa798595cf comps-sync.py: handle arch-dependent package specs (#311)
comps allows for a package to be included in a group only on
specified arches, with a line like this:

      <packagereq arch="aarch64,x86_64" type="default">kio-gdrive</packagereq>

up till now, `comps-sync.py` effectively ignored this, treating
such a line exactly the same as this:

      <packagereq type="default">kio-gdrive</packagereq>

and attempting to include the package even when building on e.g.
ppc64le.

Solving this is unfortunately tricky due to exactly how libcomps
handles these arch restrictions. It does not expose the list of
arches as a property of each returned 'package' object when you
do a group search. Instead you're supposed to filter the group
search down to the arch(es) you are interested in, and it only
includes the appropriate packages for that arch. So all we can
do is run our queries multiple times, once for each arch we may
wish to build on, keep track of the results per arch as we go,
and do some fancy footwork to keep track of the mapping between
"archful" comps entries and the lists in the YAML files.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-10-31 16:35:40 -07:00
Timothée Ravier
0e38562e28 zuul: Add initial CI jobs using Zuul 2022-10-31 12:01:34 +01:00
Colin Walters
43a47ea209 Add bootupd integration
This does what we should have done originally, and copies the
bootupd bits directly from
https://github.com/coreos/fedora-coreos-config/blob/testing-devel/manifests/bootupd.yaml

And uses them via includes.
2022-10-16 15:54:15 -04:00
Timothée Ravier
800b8fe900 comps-sync f38 2022-09-26 2022-09-26 22:32:00 +02:00
Timothée Ravier
d23650260b comps-sync f38 2022-09-20 2022-09-20 19:13:25 +02:00
Kalev Lember
921a9c1514 comps-sync f38 2022-09-20 2022-09-16 18:02:04 +02:00
Timothée Ravier
392cf036a0 Kinoite: Keep some application until with get Flatpaks
Keep some basic application in the base image until we can replace them
with Flatpaks.
2022-09-15 18:09:51 +02:00
Timothée Ravier
77819a77c0 Revert "Kinoite: Manually include imsettings-systemd"
This reverts commit 663cf9dac0.
2022-09-15 18:09:51 +02:00
Timothée Ravier
6901df2808 Remove Pantheon (removed from Fedora) 2022-09-15 18:09:51 +02:00
Timothée Ravier
a0c3b97ad8 validate: Skip build directories 2022-09-08 16:52:48 +02:00
Timothée Ravier
8bc8488ad3 README: Minor update with more examples 2022-09-08 16:52:48 +02:00
Timothée Ravier
a0383847e9 comps-sync f38 2022-09-08 2022-09-08 16:52:48 +02:00
Timothée Ravier
bed72c37fb repos: Next version is 38 (for future branching)
Update repos (unused) to be ready for the next time we branch.
2022-08-19 21:46:21 +02:00
Timothée Ravier
30894f26a5 common: Move sysroot RO script to postprocess-script
Bash Heredoc in inline YAML string is tricky. Use an independent
post-process script instead.

Fixes: 5bbc140 Revert "Revert "common: Add readonly sysroot migration unit and script""
2022-08-19 21:46:21 +02:00
Timothée Ravier
1515900d35 common: Move bootupd to arch specific package list
We only have bootup for x86 & aarch64.

Fixes: d34e2ee common: add bootupd
2022-08-19 15:28:18 +02:00
Timothée Ravier
f6457f06f0 Add script to validate manifests syntax 2022-08-19 11:35:46 +02:00
Timothée Ravier
5bbc140133 Revert "Revert "common: Add readonly sysroot migration unit and script""
Updated to fix indentation/syntax issue

This reverts commit 30f2880cfc.
2022-08-19 11:35:46 +02:00
Timothée Ravier
535e719b8d comps-sync f38 2022-08-19 2022-08-19 09:46:08 +02:00
Timothée Ravier
82989adb2e Kinoite: Temporarily exclude plasma-discover-rpm-ostree
Exclude rpm-ostree backend for Discover from the base image as it is
still not ready for general consumption.

This used to be enabled only in Rawhide but let's keep it out until it's
fixed as it's easily overlayed for debugging and testing.
2022-08-19 09:44:05 +02:00
Timothée Ravier
8b805947d4 manifests: Rawhide is now F38 2022-08-18 20:00:11 +02:00
Kevin Fenzi
30f2880cfc Revert "common: Add readonly sysroot migration unit and script"
This reverts commit b87ec3ccd0.
2022-08-16 08:33:17 -07:00
Jonathan Lebon
d34e2ee500 common: add bootupd
We need to make it easier to update the bootloader on these variants
because unlike on traditional systems, it's not updated automatically
with the rest of the system. Add bootupd for that.

This would allow fixing issues like:
- https://github.com/coreos/rpm-ostree/issues/3715
- https://github.com/fedora-silverblue/issue-tracker/issues/120#issuecomment-979268679

It won't be enabled by default and as mentioned in that comment requires
work in Anaconda to be seamless. But at least with this users should be
able to adopt and update:

https://github.com/coreos/bootupd/blob/main/README-design.md

See also the tracker issue where we did this for Fedora CoreOS:

https://github.com/coreos/fedora-coreos-tracker/issues/510
2022-08-11 17:32:38 -04:00