SHA256
1
0
forked from pool/systemd

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 7168f25ef3
commit aa65ba49c2

View File

@ -727,8 +727,9 @@ export CFLAGS="%{optflags} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2"
%if %{without sysvcompat} %if %{without sysvcompat}
-Dsysvinit-path= \ -Dsysvinit-path= \
-Dsysvrcnd-path= \ -Dsysvrcnd-path= \
%endif %else
-Drc-local=/etc/init.d/boot.local \ -Drc-local=/etc/init.d/boot.local \
%endif
-Dcreate-log-dirs=false \ -Dcreate-log-dirs=false \
-Ddebug-shell=/bin/bash \ -Ddebug-shell=/bin/bash \
\ \