diff --git a/factory/templates/meson.build b/factory/templates/meson.build index 3db9f255b9..0f53217a48 100644 --- a/factory/templates/meson.build +++ b/factory/templates/meson.build @@ -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 diff --git a/factory/etc/nsswitch.conf b/factory/templates/nsswitch.conf similarity index 100% rename from factory/etc/nsswitch.conf rename to factory/templates/nsswitch.conf