From 4e4e81b98f4001f13b1690e31d8b155cbe0aa3d5 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 2 Jun 2019 23:58:18 +0000 Subject: user/eudev: install to sysinit runlevel by default (fixes #51) --- user/eudev/APKBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'user/eudev') 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 -- cgit v1.2.3-70-g09d2