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
This commit is contained in:
Franck Bui 2023-09-12 18:35:09 +00:00 committed by Git OBS Bridge
parent 46191c97d9
commit 14597e6c16

View File

@ -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 \
\