base-files: provide /etc/nsswitch.conf and enable myhostname by default.
This commit is contained in:
parent
09b286be63
commit
fb3fcfe12d
2 changed files with 19 additions and 3 deletions
15
srcpkgs/base-files/files/nsswitch.conf
Normal file
15
srcpkgs/base-files/files/nsswitch.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
# /etc/nsswitch.conf
|
||||
#
|
||||
# See nsswitch.conf(5) for information.
|
||||
#
|
||||
passwd: files
|
||||
group: files
|
||||
shadow: files
|
||||
|
||||
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 myhostname
|
||||
networks: files
|
||||
|
||||
protocols: files
|
||||
services: files
|
||||
ethers: files
|
||||
rpc: files
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.76
|
||||
version=0.77
|
||||
revision=1
|
||||
fulldepends="base-directories xbps-triggers"
|
||||
short_desc="Void Linux base system files"
|
||||
|
@ -28,7 +28,8 @@ conf_files="
|
|||
/etc/passwd
|
||||
/etc/group
|
||||
/etc/fstab
|
||||
/etc/crypttab"
|
||||
/etc/crypttab
|
||||
/etc/nsswitch.conf"
|
||||
|
||||
do_install() {
|
||||
# Install misc config files.
|
||||
|
@ -38,7 +39,7 @@ do_install() {
|
|||
|
||||
vinstall ${FILESDIR}/securetty 600 etc
|
||||
for f in profile hosts host.conf issue lsb-release \
|
||||
inputrc fstab passwd group crypttab; do
|
||||
inputrc fstab passwd group crypttab nsswitch.conf; do
|
||||
vinstall ${FILESDIR}/${f} 644 etc
|
||||
done
|
||||
vmkdir etc/profile.d
|
||||
|
|
Loading…
Reference in a new issue