Commit 98662987 authored by Natanael Copa's avatar Natanael Copa

main/alpine-base: ship an /etc/issue file

with alpine release and tty

fixes #580
parent c42a611b
......@@ -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"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment