arpa2/mkroot

Support for commands and libraries

Closed this issue · 1 comments

Following /mkhere/oscommands.sh and /mkhere/oslibraries.sh, add support for commands on the $PATH and for libraries configured in /etc/ld.so.conf and /etc/ld.so.conf.d/*.

  • rootfs_oscommands(...) adds commands (with file name glob support).
  • rootfs_oslibraries(...) adds libraries (with file name glob support).

See mkhere issue #9 for patterns. For libraries, interesting ones are nss_*, nss_files, security/pam_ftp to select all or one NSS module, and one PAM module.

Resolved in 3c290a7. See the commit log for PAM and NSS examples, both generic and specific.