From aa65ba49c24ae523bf3a3dcf4a7e9dabc45f3b6a45ab8f32dfac94fe57c75760 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 12 Sep 2023 18:35:09 +0000 Subject: [PATCH] only set build option rc-local= when necessary (ie 'sysvcompt' is enabled) OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1436 --- systemd.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/systemd.spec b/systemd.spec index 3c53266b..da681338 100644 --- a/systemd.spec +++ b/systemd.spec @@ -727,8 +727,9 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2" %if %{without sysvcompat} -Dsysvinit-path= \ -Dsysvrcnd-path= \ -%endif +%else -Drc-local=/etc/init.d/boot.local \ +%endif -Dcreate-log-dirs=false \ -Ddebug-shell=/bin/bash \ \