aboutsummaryrefslogtreecommitdiffstats
path: root/main/alpine-base
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-20 15:00:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-20 15:03:00 +0000
commit986629878f5ab52cbaeb71ea79113fdb3e91ebed (patch)
treec569442d11008baaf26c1a8b59d6f694f05059b4 /main/alpine-base
parentc42a611b8c3372a5cc71651c10c2977b83e6cee5 (diff)
downloadaports-986629878f5ab52cbaeb71ea79113fdb3e91ebed.tar.bz2
aports-986629878f5ab52cbaeb71ea79113fdb3e91ebed.tar.xz
main/alpine-base: ship an /etc/issue file
with alpine release and tty fixes #580
Diffstat (limited to 'main/alpine-base')
-rw-r--r--main/alpine-base/APKBUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/main/alpine-base/APKBUILD b/main/alpine-base/APKBUILD
index 14b1ffa697..92e182b980 100644
--- a/main/alpine-base/APKBUILD
+++ b/main/alpine-base/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=alpine-base
pkgver=2.1.0_git20110412
-pkgrel=0
+pkgrel=1
pkgdesc="Meta package for minimal alpine base"
url="http://alpinelinux.org"
arch="noarch"
@@ -13,6 +13,7 @@ depends="alpine-baselayout alpine-conf apk-tools busybox busybox-initscripts
makedepends=
install=
subpackages=
+replaces="alpine-baselayout"
source="http://dev.alpinelinux.org/~ncopa/alpine/alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
http://nenolod.net/~nenolod/alpine-keys/alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub
"
@@ -22,9 +23,20 @@ build() {
}
package() {
+ # copy keys for repos
mkdir -p "$pkgdir"/etc/apk/keys
install -m644 "$srcdir"/*.pub "$pkgdir"/etc/apk/keys/
+
+ # create /etc/alpine-release
echo $pkgver > "$pkgdir"/etc/alpine-release
+
+ # create /etc/issue
+ cat >"$pkgdir"/etc/issue<<EOF
+Welcome to Alpine Linux ${pkgver%.*}
+Kernel \\r on an \\m (\\l)
+
+EOF
}
+
md5sums="75ee19ea2b03c12bc171647edc677f6f alpine-devel@lists.alpinelinux.org-4a6a0840.rsa.pub
ca7d06006181b625cf1ff4aefd51bd08 alpine-devel@lists.alpinelinux.org-4d07755e.rsa.pub"