Commit Graph

1232 Commits

Author SHA1 Message Date
David Abdurachmanov 2ad5911360
Rebase/Clean up patches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-09-14 11:25:17 +03:00
David Abdurachmanov 8c37d676c7
Backport 2 riscv64 specific patches from upstream
1. Add riscv_hwprobe to allow list.
2. DTB install.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-09-14 10:09:46 +03:00
David Abdurachmanov f3f03b5e3c
Remove 20-grubby.install
We are trying to switch to default Fedora bootflow. This has been
deprecated some time ago, but we used it for extlinux.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-09-14 09:59:47 +03:00
David Abdurachmanov e8f1936c22 Merge remote-tracking branch 'up/f38' into f38-riscv64 2023-09-14 09:57:50 +03:00
Zbigniew Jędrzejewski-Szmek ade2a0f960 Version 253.9
- A bunch of various small fixes all over the place
2023-09-08 08:47:31 +02:00
Zbigniew Jędrzejewski-Szmek 4e346786e1 Version 253.7
... (rhbz#2215304, rhbz#2210770, rhbz#2213398)
2023-07-17 18:22:41 +02:00
Zbigniew Jędrzejewski-Szmek c340a3a7dc Fix scriptlets for various services and remote-cryptsetup.target
... (rhbz#2217997)

systemd-homed.service and systemd-portabled.service are in
systemd-udev but the scriptlet was attached to main subpackage, so it
wouldn't work because the unit file wasn't installed yet when it was
invoked. systemd-pstore.service and remote-cryptsetup.target were
forgotten, so they wouldn't get enabled on installation.

(cherry picked from commit 219083fc04)
2023-07-17 18:22:41 +02:00
Stewart Smith 266fe575b1 Convert existing bcond_with[out] to plain bcond
(cherry picked from commit 5c840a72b5)

[skip changelog]
2023-07-17 18:22:37 +02:00
Stewart Smith c000d72768 Move gnutls, zlib, bzip2, lz4, xz, and zstd to bconds
(cherry picked from commit 379f9bfba1)

[skip changelog]
2023-07-17 18:22:33 +02:00
Yaakov Selkowitz 70ec24e92e Avoid pillow and pyflakes in RHEL builds
These test dependencies are unwanted in RHEL.

(cherry picked from commit 5982ae9504)

[skip changelog]
2023-07-17 18:22:28 +02:00
Yaakov Selkowitz e349dc83aa Avoid qrencode dependency in RHEL builds
Based on c9s:

c7784e6584
(cherry picked from commit 4980b39c44)

[skip changelog]
2023-07-17 18:22:16 +02:00
Anita Zhang 83523197ee fix typos in standalone package provides 2023-06-22 08:20:32 -06:00
Zbigniew Jędrzejewski-Szmek 21df2af848 Version 253.5 2023-06-01 16:46:08 +02:00
Zbigniew Jędrzejewski-Szmek 3d02d53d87 Version 253.4 2023-05-11 22:54:39 +02:00
Michael Catanzaro 806c95e1c7 Raise ManagedOOMMemoryPressureLimit from 50% to 80%
Admittedly I don't know what I'm doing here, but this should make
systemd-oomd kill things less often, which seems like the direction we
want to move towards, so let's try it.

https://pagure.io/fedora-workstation/issue/358
2023-05-11 18:46:17 +00:00
David Abdurachmanov 3e271937ef
Enable LTO again
Binutils have potential fix for TEXTRELs.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-05-11 09:53:19 +03:00
David Abdurachmanov f709f832ce Merge remote-tracking branch 'up/f38' into f38-riscv64 2023-05-11 09:52:31 +03:00
Zbigniew Jędrzejewski-Szmek 5448e2ee0e Add forgotten Provides and Conflicts for standalones 2023-05-09 14:59:07 +02:00
David Abdurachmanov d5c8664763
Disable LTO again
This should result in no TEXTREL in logind.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 21:30:34 +03:00
David Abdurachmanov 3066218d74
Enable LTO; Set fortify to level 2
Disabling LTO removed TEXTRELs, let's try fortify level 2 now (default 3
in Fedora 38).

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 18:20:39 +03:00
David Abdurachmanov b12c83490f
Disable LTO (GCC 13; binutils 2.40); Test build
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 15:38:14 +03:00
David Abdurachmanov 629f2386ad
Revert "Disable hardened build (GCC 13, binutils 2.40); Test"
This reverts commit e0d4dc517f.

This worked. TEXTREL from logind is gone.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 15:36:38 +03:00
Zbigniew Jędrzejewski-Szmek 7e62bd0762 sysusers.generate-pre.sh: properly escape quotes in description strings
... (rhbz#2104141)

In the first version, I wanted to use POSIX quotes with $''. But that required
'printf %q', which brings in a dependency on coreutils.

Following mcr0mmand's suggestion, ${foo@Q} is used instead, which should work
equivalently, and does not require anything new.

Tested with 'sysusers.generate-pre.sh /usr/lib/sysusers.d/*conf'. The output is
the same before and after, apart from the dovecot user with a quote.
2023-04-26 13:27:07 +02:00
Zbigniew Jędrzejewski-Szmek ef79df9490 sysusers.generate-pre.sh: fix indentation in generated scripts
We need to use a mix of spaces and tabs: the tabs are removed because of -EOF,
and then the spaces indent the output. Jesus.
2023-04-26 13:23:03 +02:00
David Abdurachmanov e0d4dc517f
Disable hardened build (GCC 13, binutils 2.40); Test
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 12:49:44 +03:00
David Abdurachmanov 1e2b209c13
Rebuild (GCC 13, binutils 2.39); Test TEXTREL
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 09:22:04 +03:00
David Abdurachmanov b750c51028
Rebuild (current toolchain, GCC 13 + binutils 2.40)
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-04-26 06:43:31 +03:00
Zbigniew Jędrzejewski-Szmek 1fa99260fc pytest-flakes is required for test_ukify.py
[skip changelog]
2023-04-22 12:37:06 +02:00
David Abdurachmanov dd91b81685 Merge remote-tracking branch 'up/f38' into f38-riscv64 2023-04-20 12:28:11 +03:00
Zbigniew Jędrzejewski-Szmek 7f6f230506 Version 253.2 2023-03-29 22:23:51 +02:00
Zbigniew Jędrzejewski-Szmek 1320fc3009 oomd: stop monitoring user-*.slice slices
... (rhbz#2177722)

Oomd was killing a login session (user-*.slice/session-*.scope).

Quoting https://bugzilla.redhat.com/show_bug.cgi?id=2177722#c21:

> In F37 and prior the config was killing based on swap and pressure
> on user-*.slice/user@.service. In 7665e1796f
> it was changed to pressure only on system.slice and all slices under
> user.slice. The relevant point here is that this change now includes
> user-*.slice/session-*.scope which is the critical session bits
> you're seeing killed here.
>
> That session scope should be omitted. The config that I intended
> with the initial PR was for all slices under
> user.slice/user-*.slice/user@.service to be monitored, not for all
> slices under user.slice.

With the file removed:

$ oomctl | rg Path | sort
  Path: /system.slice
  Path: /user.slice/user-1000.slice/user@1000.service/app.slice
  Path: /user.slice/user-1000.slice/user@1000.service/session.slice
2023-03-29 18:17:29 +02:00
David Abdurachmanov 1a652cce9b
Properly check valgrind arches
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-03-14 11:48:43 +02:00
David Abdurachmanov 2bc74814d9 Revert "Drop 20-grubby.install plugin for kernel-install"
This reverts commit b54029abba.

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
2023-03-14 11:47:39 +02:00
Zbigniew Jędrzejewski-Szmek 1a6178ce6e Move /usr/lib/systemd/boot/ to systemd-boot-unsigned subpackage 2023-03-09 09:05:16 +01:00
Zbigniew Jędrzejewski-Szmek 01af054efc Prepare to replace use of gnu-efi with the internal support
See https://github.com/systemd/systemd/pull/26641.
This will allow upstream pull request (and the main branch after the pull
request has been merged) to be built with the new code. This doesn't do
anything for official rpm builds until the new code is part of the sources.

[skip changelog]
2023-03-05 14:12:08 +01:00
Zbigniew Jędrzejewski-Szmek 9a0266ff7b Include two more patches that didn't make it into the stable tag
[skip changelog]
2023-03-03 20:14:38 +01:00
Zbigniew Jędrzejewski-Szmek 5227302c98 Really fix build with gnu-efi-3.0.11-13
It turns out that the patch applied cleanly when backported to
v253-stable, but did not work.

[skip changelog]
2023-03-03 20:11:48 +01:00
Zbigniew Jędrzejewski-Szmek ddd4dcd1fe Fix build with gnu-efi-3.0.11-13 2023-03-03 18:56:53 +01:00
Zbigniew Jędrzejewski-Szmek 68db5d4680 Version 253.1
- Fixes rhbz#2148464
2023-03-03 18:28:25 +01:00
Zbigniew Jędrzejewski-Szmek 7a81930dd2 Move man pages for sd-boot into systemd-boot-unsigned 2023-03-01 14:09:03 +01:00
Zbigniew Jędrzejewski-Szmek 55ee787b77 Set TimeoutStopFailureMode=abort for services
... (see https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer)
2023-02-22 16:03:38 +01:00
Dusty Mabe 6770ee3c6d remove group write permission from 98-default-mac-none.link
The 99-default.link has 644 perms so let's do the same for
98-default-mac-none.link. This was tripping up a test in the
Fedora CoreOS test framework [1].

https://github.com/coreos/fedora-coreos-tracker/issues/1427
2023-02-21 14:51:35 +00:00
Dusty Mabe cfc2c60978 fix comment instructions for 98-default-mac-none.link
Fixup for aff1671.
2023-02-21 14:51:35 +00:00
Zbigniew Jędrzejewski-Szmek 0104b2cfb3 Backport patch for container compatibility
... (rhbz#2165004)
2023-02-21 11:14:00 +01:00
Zbigniew Jędrzejewski-Szmek 4bdd16eba5 Add workaround patch for dracut generator issue
... (rhbz#2164404)
2023-02-21 11:06:27 +01:00
Zbigniew Jędrzejewski-Szmek 296e35b054 Version 253
... (mostly some documentation fixes since -rc3).
2023-02-20 21:07:32 +01:00
Zbigniew Jędrzejewski-Szmek 4f23aac033 Version 253-rc3
- A bunch of bugfixes for regressions, some documentation and bug fixes too.
- Really fix rhbz#2165692 (previous build carried an unapplied patch).
2023-02-10 18:57:22 +01:00
Zbigniew Jędrzejewski-Szmek b642986a84 Revert patch switch causes problems for 'systemctl isolate'
... (rhbz#2165692)
2023-02-09 22:55:13 +01:00
Zbigniew Jędrzejewski-Szmek 8eea43e714 Disable systemd-boot-update.service in presets 2023-02-08 16:39:45 +01:00
Zbigniew Jędrzejewski-Szmek 0dfb1a37e1 Use proper capitalization in license string
[skip changelog]
2023-02-08 12:38:11 +01:00