Commit graph

1,335 commits

Author SHA1 Message Date
Zbigniew Jędrzejewski-Szmek
7381b6bdb3 Version 255.18
- Fixes in systemd itself, systemd-repart, hibernation code,
  systemd-machined, systemd-stdio-bridge, systemd-userdb,
  systemd-tmpfiles, systemd-sysupdate, systemd-id128,
  systemd-timedated, udev, shared library code, sd-stub, ukify,
  systemctl, homectl, shell completions, documentation
- Hardware database is updated
- Adds new DNSSEC anchor key for systemd-resolved
- Adds new Fedora and OpenSUSE keys for systemd-importd
- Adds a Georgian mapping to the keymap list
2025-03-07 16:24:36 +01:00
Zbigniew Jędrzejewski-Szmek
36f64c05ae Version 255.16
- Fixes for sd-daemon, systemd-battery-check, systemd-logind,
  systemd-resolved, systemctl edit, man pages
2025-01-09 10:01:08 +01:00
Zbigniew Jędrzejewski-Szmek
3a98ae53bf Recommend qemu-kvm-core instead of qemu-kvm
... (rhbz#2329979)

(cherry picked from commit 8dc31eaf04)
(cherry picked from commit 4eb922626d)
2024-12-03 14:13:42 +01:00
Zbigniew Jędrzejewski-Szmek
847b7a3b81 Version 255.15 2024-11-30 09:39:29 +01:00
David Tardon
e631178936 Use %systemd_preun in systemd-resolved
With that, systemd-resolved.service is not only disabled but also
stopped on package uninstall.

... (rhbz#2305391)

(cherry picked from commit 009c64d6a2)
(cherry picked from commit 3ceacb33df)
2024-11-29 15:15:18 +01:00
Zbigniew Jędrzejewski-Szmek
23e61c5094 Pull in qemu from systemd-container
Based on https://gitlab.archlinux.org/archlinux/packaging/packages/systemd/-/issues/27.

(cherry picked from commit 37c10f5b03)
(cherry picked from commit c3994a98c6)
2024-11-19 13:18:02 +01:00
Zbigniew Jędrzejewski-Szmek
2c2d514d6b Version 255.14
- Various small fixes in multiple components
- Hardware database update
2024-11-16 16:46:12 +01:00
Zbigniew Jędrzejewski-Szmek
0cbf435d82 Version 255.13
- Various small fixes all over
2024-10-11 18:57:48 +02:00
Zbigniew Jędrzejewski-Szmek
e1b8888d0f Reword some descriptions
Also reflow %descriptions to 80 columns.

[skip changelog]
2024-10-11 18:39:25 +02:00
Zbigniew Jędrzejewski-Szmek
f43051c8d1 Version 255.12
- Various small changes all over
2024-09-11 10:12:06 +02:00
Zbigniew Jędrzejewski-Szmek
f6ffb69dde Fix release field
[skip changelog]

(cherry picked from commit 74810c5bc4)
2024-08-05 14:04:59 +02:00
Zbigniew Jędrzejewski-Szmek
8fedbf977d Link systemd-executor statically
... (rhbz#2301692)

(cherry picked from commit 1cc4f83002)
2024-08-05 13:38:13 +02:00
Zbigniew Jędrzejewski-Szmek
85035e86c9 Version 255.10
- Too many small fixes all-over to list.
2024-07-25 12:55:20 +02:00
Zbigniew Jędrzejewski-Szmek
cb42658c16 Backport udma buffer access patch
... (rhbz#2298422)

(cherry picked from commit 8d080fb5cb)
2024-07-17 11:51:48 +02:00
Zbigniew Jędrzejewski-Szmek
2947ac90c6 In standalone subpackages, suggest coreutils-single
In a minimal installation, we pull in coreutils via dependencies.
coreutils-single is much smaller, so bias the resolved towards that.

$ sudo dnf5 install --releasever=rawhide --installroot=/var/tmp/inst1 --use-host-config \
  /var/lib/mock/fedora-rawhide-x86_64/result/systemd-standalone-{repart,shutdown,sysusers,tmpfiles}-256.2-5*rpm
After this operation 57 MiB will be used (install 57 MiB, remove 0 B).

$ sudo dnf5 install --releasever=rawhide --installroot=/var/tmp/inst1 --use-host-config \
  /var/lib/mock/fedora-rawhide-x86_64/result/systemd-standalone-{repart,shutdown,sysusers,tmpfiles}-256.2-6*rpm
After this operation 41 MiB will be used (install 41 MiB, remove 0 B).

(cherry picked from commit 3889da947e)
2024-07-17 11:50:49 +02:00
Zbigniew Jędrzejewski-Szmek
bfd0a535a4 Drop versions from Conflicts for standalone packages
Because the conflicts are in one direction, dnf may try to install older
systemd/systemd-duev and newer systemd-standalone-*. This is not what we want:

$ sudo dnf5 install systemd-standalone-repart
Updating and loading repositories:
Repositories loaded.
Package                             Arch    Version       Repository          Size
Downgrading:
 systemd                            x86_64  255.4-1.fc40  fedora          14.6 MiB
   replacing systemd                x86_64  256.2-1.fc40  @commandline    16.8 MiB
 systemd-container                  x86_64  255.4-1.fc40  fedora           1.4 MiB
   replacing systemd-container      x86_64  256.2-1.fc40  @commandline     1.5 MiB
 systemd-devel                      x86_64  255.4-1.fc40  fedora         550.3 KiB
   replacing systemd-devel          x86_64  256.2-1.fc40  @commandline   556.1 KiB
 systemd-libs                       x86_64  255.4-1.fc40  fedora           1.9 MiB
   replacing systemd-libs           x86_64  256.2-1.fc40  @commandline     2.0 MiB
 systemd-networkd                   x86_64  255.4-1.fc40  fedora           2.0 MiB
   replacing systemd-networkd       x86_64  256.2-1.fc40  @commandline     2.1 MiB
 systemd-oomd-defaults              noarch  255.4-1.fc40  fedora         187.0   B
   replacing systemd-oomd-defaults  noarch  256.2-1.fc40  @commandline   187.0   B
 systemd-pam                        x86_64  255.4-1.fc40  fedora           1.0 MiB
   replacing systemd-pam            x86_64  256.2-1.fc40  @commandline     1.1 MiB
 systemd-resolved                   x86_64  255.4-1.fc40  fedora         629.9 KiB
   replacing systemd-resolved       x86_64  256.2-1.fc40  @commandline   667.1 KiB
 systemd-rpm-macros                 noarch  255.4-1.fc40  fedora           9.5 KiB
   replacing systemd-rpm-macros     noarch  256.2-1.fc40  @commandline     9.3 KiB
 systemd-tests                      x86_64  255.4-1.fc40  fedora          16.5 MiB
   replacing systemd-tests          x86_64  256.2-1.fc40  @commandline    20.0 MiB
 systemd-udev                       x86_64  255.4-1.fc40  fedora          11.5 MiB
   replacing systemd-udev           x86_64  256.2-1.fc40  @commandline    11.7 MiB
 systemd-ukify                      noarch  255.4-1.fc40  fedora          69.9 KiB
   replacing systemd-ukify          noarch  256.2-1.fc40  @commandline    73.3 KiB
Installing:
 systemd-standalone-repart          x86_64  255.8-1.fc40  updates        986.6 KiB

Transaction Summary:
 Installing:        1 packages
 Replacing:        12 packages
 Downgrading:      12 packages

Also, declare the Conflicts on both sides, so that the issue is resolved
immediately. Otherwise, it could still occur when an older version of the
non-standalone packages are available (or installed).

(cherry picked from commit b7800e3e66)
2024-07-17 11:50:45 +02:00
Zbigniew Jędrzejewski-Szmek
66be3003d2 Use a more precise Recommends for libkxbcommon
The old one was the first one added, and referred to the package.
The later ones refer to the soname. Let's convert that one to that
too.

(cherry picked from commit a3524fc837)
2024-07-17 11:50:40 +02:00
Zbigniew Jędrzejewski-Szmek
948fb506e4 Version 255.8
- Various small fixes (systemd, systemd-resolved, repart, pcrlock…)
2024-06-29 08:41:18 +02:00
Zbigniew Jędrzejewski-Szmek
dc28be3879 Version 255.7 2024-05-27 20:19:36 +02:00
Zbigniew Jędrzejewski-Szmek
a7c0e3add5 Version 256.6
- Fixes for systemd, systmed-resolved, systemd-journald,
  systemd-journal-remote, systemd-cryptsetup, systemd-portabled,
  systemd-networkd, systemd-boot, varlink implementation, shell completions,
  build reproducibility, and various smaller fixes in other tools.
2024-05-09 12:40:58 +02:00
Zbigniew Jędrzejewski-Szmek
69d6e44695 Drop workaround to run generators without sandboxing
... (requirement on dracut >= 60 is added)
2024-04-24 16:45:03 +02:00
Zbigniew Jędrzejewski-Szmek
041d0e2394 Version 255.5
- Many different small fixes: systemd itself, systemd-networkd,
  systemd-journal-remote, compilation fixes for newer kernels and
  clang, systemd-homed, systemd-resolved, ukify, systemd-tmpfiles,
  various other.
2024-04-24 16:43:34 +02:00
Zbigniew Jędrzejewski-Szmek
cffa0853c9 Move systemctl symlinks to /usr/bin too
[skip changelog]
2024-04-18 16:00:40 +02:00
Zbigniew Jędrzejewski-Szmek
a37923658f Prepare for bin-sbin merge
https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin

Skip symlinks if they'd point to themselves,
rely on filesystem to create symlinks for us.
2024-04-10 22:08:06 +02:00
Zbigniew Jędrzejewski-Szmek
3f8c38e5d6 Drop perl from BR
It was removed upstream in 711169905e75617eabf3934273aa37dac02c6458,
except for one call in test/test-functions, but we don't run those
during package build.

[skip changelog]
2024-04-08 13:54:32 +02:00
Zbigniew Jędrzejewski-Szmek
5a7cc0a327 Fix build with newer kernel headers
[skip changelog]
2024-04-07 10:57:49 +02:00
Zbigniew Jędrzejewski-Szmek
976e1b0a68 spec: add %bcond to build without documentation
Building of the man pages takes quite a while. We can skip this step
in integration mkosi tests, we don't care about documentation there.
2024-03-27 11:40:36 +01:00
Zbigniew Jędrzejewski-Szmek
3a8ac5baa8 spec: sort and deduplicate gid configuration
[skip changelog]
2024-03-27 11:39:37 +01:00
Zbigniew Jędrzejewski-Szmek
f1d38667ef Revert "Adjust release tag for riscv64"
This reverts commit b6f8f82d8b.

It was a misunderstanding, it wasn't supposed to go in.
2024-03-22 13:10:38 +01:00
David Abdurachmanov
ac2364bc4b Enable bootloader stack for riscv64 2024-03-22 13:03:35 +01:00
Zbigniew Jędrzejewski-Szmek
b6f8f82d8b Adjust release tag for riscv64
If it is specified externally, we hounour that. Otherwise, default
to "1.0.riscv64" on riscv.
2024-03-22 13:02:00 +01:00
Zbigniew Jędrzejewski-Szmek
58b044d8e9 Adjust indentation
[skip changelog]
2024-03-22 13:02:00 +01:00
Zbigniew Jędrzejewski-Szmek
e3e9477031 BR: valgrind is not available on riscv64
[skip changelog]
2024-03-22 13:02:00 +01:00
Zbigniew Jędrzejewski-Szmek
ec5f3a94bc BR: add versioned dependency on binutils for ukify tests
[skip changelog]
2024-03-22 13:02:00 +01:00
David Tardon
2e32a339a1 Make Requires(*) on systemd versioned
Most systemd tools run from scriptlets need libsystemd-shared-X.so (from
systemd package), which contains version and release in it's name.
Therefore, the same version of systemd package must be already installed
when they run.

Resolves: #2282821
2024-03-20 11:01:27 +01:00
Zbigniew Jędrzejewski-Szmek
95a3861e92 Add R:systemd-udev to systemd-networkd subpackage
... (rhbz#2173425)
2024-03-20 09:57:27 +01:00
Daan De Meyer
ae8a47e92e Add psutil dependency to systemd-tests
Required by systemd-networkd-tests.py
2024-03-18 14:25:44 +01:00
Daan De Meyer
2822a03dde Build in developer mode when building for upstream 2024-03-07 12:18:11 +00:00
Zbigniew Jędrzejewski-Szmek
e8d02128c9 Version 255.4 2024-03-01 16:38:06 +01:00
Daan De Meyer
dc3dcc0114 Allow setting extra configure options using %meson_extra_configure_options
Will be used when building upstream to enable developer mode or sanitizers
for example.
2024-02-21 15:42:47 +01:00
Daan De Meyer
104532bab2 Apply pam patch when building for upstream
It applies without conflicts and ensures coverage of a pretty important
patch so let's apply it when building for upstream.
2024-02-21 15:42:00 +01:00
Daan De Meyer
0a51fe1e6b Use %version_override/%release_override to specify version/release by users
When backporting the latest changes to CentOS Hyperscale reviewers
were confused by using %version and %release to define "Version" and
"Release" which are supposed to specify the values for %version and
%release. Let's use different macros to make it more clear that these
are supposed to be set by users building the rpm and add a comment
to explain why we do this.
2024-02-21 12:02:00 +01:00
Zbigniew Jędrzejewski-Szmek
7740aea610 Let libkmod be a dlopen'ed dependency 2024-02-20 11:11:20 +01:00
Daan De Meyer
3520bb5c92 Allow overriding the version and release using macros
Let's allow overriding the version and release by specifying the
corresponding macros on the rpmbuild command line. This allows us
to specify a custom version and release when doing upstream builds.
2024-02-17 22:08:38 +01:00
Daan De Meyer
74b3ef386f Stop passing %{release} to meson when building in upstream mode
When building in upstream mode, the release doesn't really have any
meaning so let's stop passing it as part of the version-tag and
shared-library-tag arguments.

This also makes it possible to make the release a timestamp so that
each package built from upstream is guaranteed to be newer. If we
pass the release to meson via version-tag and shared-library-tag and
the release changes every build, we end up having constant rebuilds
of various targets in meson that depend on the version.
2024-02-17 22:08:35 +01:00
Daan De Meyer
4c5b844e62 Don't pass b_lto to meson
Let's depend on %lto_cflags doing the right thing instead of manually
passing the b_lto option to meson.
2024-02-17 17:58:18 +01:00
Daan De Meyer
3f65739521 Update usage of meson-vcs-tag.sh to account for upstream changes
The second argument now specifies the version tag version so let's
adapt. Because the script now supports running without any arguments
at all, let's just do that.

The output now also doesn't use any hyphens anymore so we get rid
of the sed transformation as well;
2024-02-15 20:23:48 +01:00
Daan De Meyer
a95f14a72e Replace inplace macro with upstream macro
Currently, the inplace macro only influences whether we use
tools/meson-vcs-tag.sh to figure out the version instead of using
the predefined one. But doing an inplace build shouldn't really
affect the version, since it's possible to do an inplace builds that's
not a git main upstream build, so the two concepts are disjoint.

Instead, let's replace the "inplace" macro with an "upstream" macro
to indicate that we're building from systemd git upstream. Aside from
influencing the version, this also disables various patches and adds
a libarchive dependency that was added upstream recently but isn't in
an official release yet.
2024-02-11 20:31:41 +01:00
Daan De Meyer
a9172a2e9c Remove reconfiguration logic
meson handles this internally since 1.3 so we don't need this logic
anymore.
2024-02-11 20:31:41 +01:00
Daan De Meyer
b375f983d9 Stop depending on filelists
There's a bug in dnf5 where it always downloads filelists metadata
even for file dependencies that are in the "allowed" paths, such as
/usr/bin/getfacl. Let's use the package names for now to avoid
downloading the filelists metadata unnecessarily.

See https://bugzilla.redhat.com/show_bug.cgi?id=2263771
2024-02-11 20:31:28 +01:00