Commit graph

312 commits

Author SHA1 Message Date
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
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