mirror of
https://github.com/morgan9e/systemd
synced 2026-04-13 16:04:28 +09:00
factory: do not install nsswitch.conf when nss is disabled
When systemd is built with musl, nss modules are not supported, hence the file is not necessary. Let's not install the file.
This commit is contained in:
committed by
Daan De Meyer
parent
3a5d9ee980
commit
27971114d5
@@ -15,3 +15,9 @@ custom_target(
|
||||
command : [jinja2_cmdline, '@INPUT@', '@OUTPUT@'],
|
||||
install : true,
|
||||
install_dir : factory_etc_dir)
|
||||
|
||||
if conf.get('ENABLE_NSS') == 1
|
||||
install_data(
|
||||
'nsswitch.conf',
|
||||
install_dir : factory_etc_dir)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user