summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/mdevd/APKBUILD8
-rw-r--r--system/mdevd/mdevd.initd10
2 files changed, 8 insertions, 10 deletions
diff --git a/system/mdevd/APKBUILD b/system/mdevd/APKBUILD
index f3e133d93..fd35251e1 100644
--- a/system/mdevd/APKBUILD
+++ b/system/mdevd/APKBUILD
@@ -1,14 +1,14 @@
# Contributor: Laurent Bercot <ska-adelie@skarnet.org>
# Maintainer: Laurent Bercot <ska-adelie@skarnet.org>
pkgname=mdevd
-pkgver=0.1.5.2
+pkgver=0.1.6.1
pkgrel=0
pkgdesc="A small uevent manager daemon"
url="https://skarnet.org/software/$pkgname/"
arch="all"
options="!check" # No test suite.
license="ISC"
-_skalibs_version=2.12
+_skalibs_version=2.13
makedepends="skalibs-dev>=$_skalibs_version"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://skarnet.org/software/$pkgname/$pkgname-$pkgver.tar.gz mdev.conf mdevd.run mdevd.initd"
@@ -49,7 +49,7 @@ openrc() {
ln -s ../../init.d/mdevd "$rldir/mdevd"
}
-sha512sums="50d0b517255bc8acc25b226822186a6315569e7691511bca44a274e18bd443b9ff70e99884ffb9467c9ec85af2a1bd5256b05c92905eeca67ee14b98cd0b540d mdevd-0.1.5.2.tar.gz
+sha512sums="0659b9041e69d426b51657a28403af67bdf2eb072b9bfd55aa764f3e056c3333dad13d90c5a4ef9a6df30e79af99c511e9255bbc9c0e0f494ac55e8452c9358d mdevd-0.1.6.1.tar.gz
f966d66366eac3b9b9eeb9b8523ea0924ada2b858c85ca0c0151d0fb374dfbf56c49ec2210d2d5ca19aa4d9f24371c85d777050eb8bf9f57821ec65704f18717 mdev.conf
427a5903fa2126060955dcce8144d59255a679c4973f2dbc3145a4d646e879fc241ebcaa53289498719d343c746fc376c41defa87932dcbe91192b2d6f4ed1c4 mdevd.run
-3b22077f867a07493284bf1d0c0f1ec5c4359d6f6e7313ce917e354b275286833136defd3eddde967257e3dd255c7581f096bcf2f345553ce6db088296abb41f mdevd.initd"
+e7599f51a4280243a5be459c6fad7eb8ba3b5f65fae8cad923ccca2addab55787819909fea311c998e1126e6802a81ab000ee6de7474f3245ce72521244c22ba mdevd.initd"
diff --git a/system/mdevd/mdevd.initd b/system/mdevd/mdevd.initd
index 28c34b796..e9dff025f 100644
--- a/system/mdevd/mdevd.initd
+++ b/system/mdevd/mdevd.initd
@@ -1,5 +1,5 @@
#!/sbin/openrc-run
-# Copyright 2019-2021 Adélie Linux
+# Copyright 2019-2023 Adélie Linux
description="mdevd manages device permissions and symbolic links in /dev"
extra_started_commands="reload"
@@ -17,19 +17,17 @@ depend()
stop()
{
ebegin "Stopping mdevd"
- touch /run/service/mdevd/down
- s6-svc -d /run/service/mdevd
+ s6-svc -D /run/service/mdevd
eend $?
}
start()
{
ebegin "Starting mdevd"
- rm -f /run/service/mdevd/down
- s6-svc -uwU /run/service/mdevd
+ s6-svc -UwU /run/service/mdevd
eend $?
ebegin "Coldplugging devices"
- mdevd-coldplug
+ mdevd-coldplug -O4
eend $?
}