From e301db0151ee35abaa01ac3f5f5cb96d96bbf05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 29 Jan 2026 15:29:58 +0100 Subject: [PATCH] Stop enabling getty@tty1.service Before the recent changes to fix scriptlets and do presets, we didn't create this symlink, so let's drop it again to see if this fixes the OpenQA failures. --- 40440.patch | 7 +++---- systemd.spec | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/40440.patch b/40440.patch index 9f371ad..d3b9097 100644 --- a/40440.patch +++ b/40440.patch @@ -29,14 +29,13 @@ index 19b95ce56d45c..e7e2aab045fd9 100644 ImportCredential=tty.virtual.%I.agetty.*:agetty. ImportCredential=tty.virtual.%I.login.*:login. ImportCredential=agetty.* -@@ -58,5 +59,7 @@ ImportCredential=shell.* +@@ -58,5 +59,4 @@ ImportCredential=shell.* UnsetEnvironment=LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION [Install] +Alias=autovt@.service -+ - WantedBy=getty.target - DefaultInstance=tty1 +-WantedBy=getty.target +-DefaultInstance=tty1 diff --git a/units/meson.build b/units/meson.build index f2c5d220554b5..36dcb3f117483 100644 --- a/units/meson.build diff --git a/systemd.spec b/systemd.spec index 6a30e54..2337080 100644 --- a/systemd.spec +++ b/systemd.spec @@ -159,7 +159,7 @@ Patch: 0003-ukify-omit-.osrel-section-when-os-release-is-empty.patch # Upstream PR: https://github.com/systemd/systemd/pull/40329 Patch: 0004-stub-Fix-NULL-pointer-deref-when-there-are-no-initrd.patch -Patch: https://github.com/systemd/systemd/pull/40440.patch +Patch: 40440.patch %endif %ifarch %{ix86} x86_64 aarch64 riscv64