]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test-functions: read /usr/etc/nsswitch.conf if /etc/nsswitch.conf does not exist...
authorElisei Roca <42994510+eliroca@users.noreply.github.com>
Tue, 23 Jun 2020 05:42:15 +0000 (07:42 +0200)
committerGitHub <noreply@github.com>
Tue, 23 Jun 2020 05:42:15 +0000 (07:42 +0200)
See this for more info why and since when this change is needed: https://build.opensuse.org/request/show/807179.

test/test-functions

index df87261ea2f32eef1e176490e93c23502e3ff252..f7f604aec3abe87386146626097e76d56e57cf3a 100644 (file)
@@ -935,7 +935,7 @@ install_config_files() {
     inst /etc/login.defs
     inst /etc/group
     inst /etc/shells
-    inst /etc/nsswitch.conf
+    inst_any /etc/nsswitch.conf /usr/etc/nsswitch.conf
     inst /etc/pam.conf || :
     inst /etc/os-release
     inst /etc/localtime