From 377cd3542c55bd039ea51d976d1d3e38c271ef67433ef75d81e40bee573f3929 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Fri, 6 Jan 2023 10:11:58 +0000 Subject: [PATCH] - Add 5000-rules-add-missing-line-continuation.patch until commit de8409ac43f6e4596de4cecce8dbbb5f1f2a18b1 is backported to the v252 stable tree. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1339 --- ...-rules-add-missing-line-continuation.patch | 28 +++++++++++++++++++ systemd.changes | 7 +++++ systemd.spec | 3 +- 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 5000-rules-add-missing-line-continuation.patch diff --git a/5000-rules-add-missing-line-continuation.patch b/5000-rules-add-missing-line-continuation.patch new file mode 100644 index 00000000..a0cfa7dd --- /dev/null +++ b/5000-rules-add-missing-line-continuation.patch @@ -0,0 +1,28 @@ +From de8409ac43f6e4596de4cecce8dbbb5f1f2a18b1 Mon Sep 17 00:00:00 2001 +From: Yu Watanabe +Date: Wed, 21 Dec 2022 17:32:56 +0900 +Subject: [PATCH 5000/5000] rules: add missing line continuation + +Fixes a bug introduced by 953c928c24455744d5534679998d129b947a5e04. + +Fixes #25811. +--- + rules.d/60-evdev.rules | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rules.d/60-evdev.rules b/rules.d/60-evdev.rules +index 15483101e7..c97cdecb58 100644 +--- a/rules.d/60-evdev.rules ++++ b/rules.d/60-evdev.rules +@@ -6,7 +6,7 @@ KERNEL!="event*", GOTO="evdev_end" + # Execute the match patterns below, from least-to-most specific. + + # Device matching the modalias string (bustype, vendor, product, version, other properties) +-IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", ++IMPORT{builtin}="hwdb --subsystem=input --lookup-prefix=evdev:", \ + ENV{.HAVE_HWDB_PROPERTIES}="1" + + # AT keyboard matching by the machine's DMI data +-- +2.35.3 + diff --git a/systemd.changes b/systemd.changes index 564a5a19..cd0000d2 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jan 6 10:10:37 UTC 2023 - Franck Bui + +- Add 5000-rules-add-missing-line-continuation.patch until commit + de8409ac43f6e4596de4cecce8dbbb5f1f2a18b1 is backported to the v252 stable + tree. + ------------------------------------------------------------------- Wed Dec 21 07:31:38 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 6f3b93b7..71f0d042 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,7 +1,7 @@ # # spec file # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -216,6 +216,7 @@ Patch1000: 1000-Revert-getty-Pass-tty-to-use-by-agetty-via-stdin.patch # very few cases, some stuff might be broken in upstream and need to be fixed # quickly. But even in these cases, the patches are temporary and should be # removed as soon as a fix is merged by upstream. +Patch5000: 5000-rules-add-missing-line-continuation.patch %description Systemd is a system and service manager, compatible with SysV and LSB