summaryrefslogtreecommitdiff
path: root/aports/base-layout/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'aports/base-layout/APKBUILD')
-rw-r--r--aports/base-layout/APKBUILD9
1 files changed, 8 insertions, 1 deletions
diff --git a/aports/base-layout/APKBUILD b/aports/base-layout/APKBUILD
index 882d5f6..944d76b 100644
--- a/aports/base-layout/APKBUILD
+++ b/aports/base-layout/APKBUILD
@@ -2,7 +2,7 @@
pkgname=baselayout
pkgver=3.2.0
-pkgrel=20 # base: 22
+pkgrel=20 # base: 23
pkgdesc="Base dir structure and init scripts (Alpine Linux)"
url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
arch="all"
@@ -161,6 +161,13 @@ package() {
config /media/etc 9p trans=virtio,ro,noatime,nodiratime,norelatime 0 0
var /var 9p trans=virtio,rw 0 0
EOF
+ cat > "$pkgdir"/etc/nsswitch.conf <<-EOF
+ # musl itself does not support NSS, however some third-party DNS
+ # implementations use the nsswitch.conf file to determine what
+ # policy to follow.
+ # Editing this file is not recommended.
+ hosts: files dns
+ EOF
install -m644 \
"$srcdir"/group \