summaryrefslogtreecommitdiff
path: root/aports/base-layout
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2022-10-30 22:57:59 +0100
committerPÁLI Gábor János <pali.gabor@gmail.com>2022-10-30 22:57:59 +0100
commited7b1dac9b81ed23b4bf3db924907101dce3c024 (patch)
treea554b378d6d6300be9819d30e91bbc83aa185cbe /aports/base-layout
parent8d89f691c123947ea44d17ef07d280ffa2b807db (diff)
downloadfreebsd-wifibox-alpine-ed7b1dac9b81ed23b4bf3db924907101dce3c024.zip
base-layout: Expose hostname.
Diffstat (limited to 'aports/base-layout')
-rw-r--r--aports/base-layout/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/aports/base-layout/APKBUILD b/aports/base-layout/APKBUILD
index 944d76b..7597bc4 100644
--- a/aports/base-layout/APKBUILD
+++ b/aports/base-layout/APKBUILD
@@ -2,7 +2,7 @@
pkgname=baselayout
pkgver=3.2.0
-pkgrel=20 # base: 23
+pkgrel=21 # base: 23
pkgdesc="Base dir structure and init scripts (Alpine Linux)"
url="https://git.alpinelinux.org/cgit/aports/tree/main/alpine-baselayout"
arch="all"
@@ -103,7 +103,6 @@ package() {
"$srcdir"/locale.sh \
"$pkgdir"/etc/profile.d/
- echo "wifibox" > "$pkgdir"/etc/hostname
cat > "$pkgdir"/etc/hosts <<-EOF
127.0.0.1 localhost localhost.localdomain
::1 localhost localhost.localdomain
@@ -187,6 +186,7 @@ package() {
ln -s /proc/mounts "$pkgdir"/etc/mtab
ln -s /var/mail "$pkgdir"/var/spool/mail
ln -s /tmp/resolv.conf "$pkgdir"/etc/resolv.conf
+ ln -s /media/etc/hostname "$pkgdir"/etc/hostname
}
sha512sums="