summaryrefslogtreecommitdiff
path: root/user/eudev/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-02 23:58:18 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-06-02 23:58:18 +0000
commit4e4e81b98f4001f13b1690e31d8b155cbe0aa3d5 (patch)
tree9c4cf2f1c0d4333ac0973afc4eb04d080ea2da63 /user/eudev/APKBUILD
parent1bf5211c40ff92f1545aa4148e48fd0809836f49 (diff)
downloadpackages-4e4e81b98f4001f13b1690e31d8b155cbe0aa3d5.tar.gz
packages-4e4e81b98f4001f13b1690e31d8b155cbe0aa3d5.tar.bz2
packages-4e4e81b98f4001f13b1690e31d8b155cbe0aa3d5.tar.xz
packages-4e4e81b98f4001f13b1690e31d8b155cbe0aa3d5.zip
user/eudev: install to sysinit runlevel by default (fixes #51)
Diffstat (limited to 'user/eudev/APKBUILD')
-rw-r--r--user/eudev/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/user/eudev/APKBUILD b/user/eudev/APKBUILD
index 5b9aa2526..f1cc65903 100644
--- a/user/eudev/APKBUILD
+++ b/user/eudev/APKBUILD
@@ -2,21 +2,20 @@
# Maintainer:
pkgname=eudev
pkgver=3.2.7
-pkgrel=0
+pkgrel=1
pkgdesc="OpenRC compatible fork of systemd-udev"
url="https://wiki.gentoo.org/wiki/Project:Eudev"
arch="all"
options="!checkroot"
license="GPL-2.0-only"
depends=""
-depends_dev=""
-replaces="udev udev-init-scripts"
-provides="udev=176"
makedepends="gperf glib-dev linux-headers kmod-dev gobject-introspection-dev
util-linux-dev"
checkdepends="tree xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs $pkgname-openrc
$pkgname-netifnames::noarch"
+provides="udev=176"
+replaces="udev udev-init-scripts"
source="http://dev.gentoo.org/~blueness/$pkgname/$pkgname-$pkgver.tar.gz
default-rules.patch
load-fbcon.patch
@@ -102,6 +101,13 @@ netifnames() {
openrc() {
replaces="udev-init-scripts-openrc"
default_openrc
+ install -d "$subpkgdir"/usr/share/runlevels/openrc/sysinit
+ # https://bts.adelielinux.org/show_bug.cgi?id=51
+ # if eudev is installed, it should be running in the sysinit runlevel
+ ln -s /etc/init.d/udev \
+ "$subpkgdir"/usr/share/runlevels/openrc/sysinit/udev
+ ln -s /etc/init.d/udev-trigger \
+ "$subpkgdir"/usr/share/runlevels/openrc/sysinit/udev-trigger
}
sha512sums="e6c8ec86ae434c967f6a568fa0b281229bb87be7e3fec025dc3e0225de7843ffaa5dd65bdeffefbc91e9e2911aa3de9df84c76148fe8863ff60fba4c88653c40 eudev-3.2.7.tar.gz