summaryrefslogtreecommitdiff
path: root/aports/base-layout
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-10-11 18:19:28 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-10-11 18:19:28 +0200
commitb1a7cbcafcae8421d002b86bab9d65d3a7c7623c (patch)
treea03693d800dd121ed086cc91523e0163582018bb /aports/base-layout
parent3a3b7aa9066d392faa0059d3b25042805a50e50a (diff)
downloadfreebsd-wifibox-alpine-b1a7cbcafcae8421d002b86bab9d65d3a7c7623c.zip
base-layout: import changes from upstream
References: - https://git.alpinelinux.org/aports/commit/main/alpine-baselayout?h=3.16-stable&id=348653a9ba0701e8e968b3344e72313a9ef334e4
Diffstat (limited to 'aports/base-layout')
-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 \