From ed7b1dac9b81ed23b4bf3db924907101dce3c024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=81LI=20G=C3=A1bor=20J=C3=A1nos?= Date: Sun, 30 Oct 2022 22:57:59 +0100 Subject: base-layout: Expose hostname. --- aports/base-layout/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aports/base-layout') 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=" -- cgit v1.2.3