Browse Source

Merge pull request #268 from danimo/ssh_include_nss

ssh-client: Include nss_ libraries
master
Harald Hoyer 8 years ago committed by GitHub
parent
commit
e5d6018783
  1. 9
      modules.d/95ssh-client/module-setup.sh

9
modules.d/95ssh-client/module-setup.sh

@ -63,7 +63,16 @@ inst_sshenv() @@ -63,7 +63,16 @@ inst_sshenv()

# called by dracut
install() {
local _nsslibs

inst_multiple ssh scp
inst_sshenv

_nsslibs=$(sed -e '/^#/d' -e 's/^.*://' -e 's/\[NOTFOUND=return\]//' /etc/nsswitch.conf \
| tr -s '[:space:]' '\n' | sort -u | tr -s '[:space:]' '|')
_nsslibs=${_nsslibs#|}
_nsslibs=${_nsslibs%|}

inst_libdir_file -n "$_nsslibs" 'libnss_*.so*'
}


Loading…
Cancel
Save