Commit graph

456 commits

Author SHA1 Message Date
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
b1d4141d14 Rawhide is now f38
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-08-09 14:16:14 +02:00
Timothée Ravier
b87ec3ccd0 common: Add readonly sysroot migration unit and script
Add unit and corresponding script to migrate existing systems to read
only sysroot.

See: https://fedoraproject.org/wiki/Changes/Silverblue_Kinoite_readonly_sysroot
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2060976
2022-08-08 17:40:01 +02:00
Adam Williamson
cd106b6945 comps-sync f37 2022-07-29
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-29 11:59:23 -07:00
Adam Williamson
e2a64cda3b comps-sync f37 2022-05-16
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-26 08:39:42 -07:00
Jeffrey Serio
082755c17f Add default packages to fedora-vauxite.yaml 2022-05-23 15:31:38 +00:00
Timothée Ravier
663cf9dac0 Kinoite: Manually include imsettings-systemd
Required to enable complex input-methods support. We might consider
including the input-methods comps group if it turns out that we need
more packages.

Fixes: https://pagure.io/fedora-kde/SIG/issue/156
2022-05-19 17:15:09 +02:00
Timothée Ravier
cc14fc78e4 comps-sync f37 2022-05-16 2022-05-16 19:59:52 +02:00
Timothée Ravier
1628cb19bf fedora-common-ostree: Add ncurses
Provides terminal tools like clear, reset, tput, and tset

Fixes: https://github.com/fedora-silverblue/issue-tracker/issues/253
2022-04-20 13:29:38 +02:00
Timothée Ravier
4fa44ca7a7 comps-sync f37 2022-05-20 2022-04-20 13:28:19 +02:00
Timothée Ravier
75eddf34c2 comps-sync f37 2022-02-16 2022-02-16 18:59:29 +01:00
Timothée Ravier
e832490f0a repo: Remove unused baseurl, explicitely set enabled & gpgpcheck 2022-02-16 18:45:56 +01:00
Timothée Ravier
a1bf2195d6 repo: Add F37 repos to simplify branching 2022-02-16 18:45:56 +01:00
Allison Karlitskaya
88f5c3b25c Revert "Add minimal -devel packages as needed to build kernel modules"
This reverts commit 31ad6acced.

With the addition of the fedora-updates-archive repository to fedora-repos, our
concern about not being able to find the correct -devel packages to install
have disappeared.  Additionally, the kernel now ships -matched versions
of its packages (to allow matching headers to the main kernel package)
and akmods depends on the matched package, which means that we are sure
to get the package we need.

See also: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1195
See also: https://src.fedoraproject.org/rpms/akmods/pull-request/3
2022-02-16 17:40:15 +00:00
Adam Williamson
92adf4430b comps-sync f37 2022-02-08
Font changes related to
https://fedoraproject.org/wiki/Changes/DefaultToNotoFonts , and
gedit replaced with gnome-text-editor (so changed the exclusion
list).

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-02-08 09:43:58 -08:00
ecbfb4339c Rawhide is now f37
Signed-off-by: Tomas Hrcka <thrcka@redhat.com>
2022-02-08 14:02:58 +01:00
Timothée Ravier
eb48de275c fedora-common-ostree: Move post script inline
This was difficult with the JSON based manifests but is now easy with
the YAML ones.
2022-01-21 11:32:12 +01:00
Timothée Ravier
c5edd168e1 post.sh: Update persistent journal workaround
Add a systemd configuration drop-in instead of modyfing the default
configuration file.

Imported from:
https://github.com/coreos/fedora-coreos-config/blob/testing-devel/overlay.d/05core/usr/lib/systemd/journald.conf.d/10-coreos-persistent.conf
2022-01-21 11:29:47 +01:00
Jonathan Lebon
635f72795a post.sh: stop disabling modular repos
rpm-ostree understands modules now so it's safe to leave it enabled.
FCOS equivalent: https://github.com/coreos/fedora-coreos-config/pull/1191
2022-01-12 16:56:00 -05:00
Timothée Ravier
387ad78e4f comps-sync f36 2021-12-13
https://pagure.io/fedora-comps/c/122cc1d1e51b3272207793672aded2b53835d1b7?branch=main
https://pagure.io/fedora-comps/c/15a2b896371eb78ec2ecbafb6fe76a632c0bf58a?branch=main
2021-12-16 16:22:20 +00:00
Timothée Ravier
9ae2a6a534 LICENSE: Add MIT license text 2021-12-16 11:39:31 +01:00
Adam Williamson
487891c21f Drop ipw2100-firmware and ipw2200-firmware (retired)
These packages were retired today as part of
https://fedoraproject.org/wiki/Changes/RemoveWirelessExtensions .
Them being listed in the manifest breaks the ostree compose:
https://kojipkgs.fedoraproject.org/compose/rawhide/Fedora-Rawhide-20211203.n.0/logs/x86_64/Silverblue/ostree-4/create-ostree-repo.log

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2021-12-03 11:22:03 -08:00
Tomas Popela
825c68d285 Merge #254 README: General update 2021-11-23 08:25:19 +00:00
Timothée Ravier
b3d1fa1987 README: General update 2021-11-18 17:42:07 +01:00
Timothée Ravier
30e1bff894 comps-sync f35 2021-11-15 2021-11-15 20:14:49 +01:00
Timothée Ravier
61b9bf4802 Kinoite: Exclude plasma-pk-updates
plasma-pk-updates is only useful with PackageKit and thus not needed on
Kinoite.
2021-11-15 20:14:49 +01:00
Timothée Ravier
048502f488 Kinoite: Keep kde-partitionmanager
Re-add kde-partitionmanager to the base image until we have it available
as a Flatpak.

See: https://pagure.io/fedora-kde/SIG/issue/131
2021-11-15 20:12:06 +01:00
Timothée Ravier
167a5f0097 fedora-common-ostree: Minor cosmetic fix 2021-11-15 20:12:06 +01:00
Timothée Ravier
58eba54567 comps-sync rawhide 2021-10-09 2021-10-09 17:20:09 +02:00