summaryrefslogtreecommitdiff
path: root/system/gettys-openrc/APKBUILD
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2018-08-19 21:31:04 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2018-08-19 21:31:04 +0000
commit54d8b12cfe5b6028b5e1152ba1627878d3657a6b (patch)
tree1d39f5f0a53a184403fc87bf543f847145f650fd /system/gettys-openrc/APKBUILD
parentcb085205ea9982a9857c0d06967314c29b17e811 (diff)
downloadpackages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.tar.gz
packages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.tar.bz2
packages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.tar.xz
packages-54d8b12cfe5b6028b5e1152ba1627878d3657a6b.zip
system/gettys-openrc: new package. Move all getty definitions to it.
Small change to system/adelie-base so it includes gettys-openrc. Small change to system/s6 so it doesn't statically define gettys.
Diffstat (limited to 'system/gettys-openrc/APKBUILD')
-rw-r--r--system/gettys-openrc/APKBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/system/gettys-openrc/APKBUILD b/system/gettys-openrc/APKBUILD
new file mode 100644
index 000000000..5516ff0b8
--- /dev/null
+++ b/system/gettys-openrc/APKBUILD
@@ -0,0 +1,23 @@
+# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
+# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
+pkgname=gettys-openrc
+pkgver=0.0.1.0
+pkgrel=3
+pkgdesc="Dynamic getty services"
+url="http://adelielinux.org/"
+arch="noarch"
+options="!check" # No test suite.
+license="NCSA"
+depends="sysvinit execline"
+source="gettys.confd gettys.initd"
+
+package() {
+ mkdir -p "$pkgdir"/etc/conf.d "$pkgdir"/etc/init.d "$pkgdir"/etc/runlevels/sysinit
+ cp -f "$srcdir"/gettys.confd "$pkgdir"/etc/conf.d/gettys
+ cp -f "$srcdir"/gettys.initd "$pkgdir"/etc/init.d/gettys
+ chmod 0755 "$pkgdir"/etc/init.d/gettys
+ ln -sf ../../init.d/gettys "$pkgdir"/etc/runlevels/sysinit
+}
+
+sha512sums="feea93da30871754027bc16a7bb8687b4c1780fe7ec9a49c8479ccade4c8770a76c1638029145e33c3a170ccad2d5297287cf59cea67aa561454a333ccf6ae76 gettys.confd
+3b4c212bba04c2a100b2e48cbbcdf561f77cb1f4e0565b8d6304315e8edce54ec7891dafc7e82fe9d30a8fad7249e8f0e337f71c4ad8ec50cc140a4e5130648f gettys.initd"