summaryrefslogtreecommitdiff
path: root/system/mdevd
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2022-06-16 21:28:12 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2022-06-16 21:28:12 +0000
commit65355eb7145f09bbea6fb0ad93ae862a2f0385cd (patch)
treeb4c0eb13de6296bf2f6d2a6830e1f04153b98434 /system/mdevd
parenta8f9604ed485c973a6ba5fef3918a09d03ffc6c2 (diff)
downloadpackages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.gz
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.bz2
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.xz
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.zip
Skaware.20220616
Diffstat (limited to 'system/mdevd')
-rw-r--r--system/mdevd/APKBUILD14
-rw-r--r--system/mdevd/mdev.conf4
-rw-r--r--system/mdevd/mdevd.run2
3 files changed, 11 insertions, 9 deletions
diff --git a/system/mdevd/APKBUILD b/system/mdevd/APKBUILD
index d0e89a27a..f3e133d93 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.1
+pkgver=0.1.5.2
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.11
+_skalibs_version=2.12
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"
@@ -20,9 +20,11 @@ build() {
package() {
make DESTDIR="$pkgdir" install
- mkdir -p -m 0755 "$pkgdir/etc"
+ mkdir -p -m 0755 "$pkgdir/etc/init.d"
cp -f "$srcdir/mdev.conf" "$pkgdir/etc/"
chmod 0644 "$pkgdir/etc/mdev.conf"
+ cp -f "$srcdir/mdevd.initd" "$pkgdir/etc/init.d/mdevd"
+ chmod 0755 "$pkgdir/etc/init.d/mdevd"
}
@@ -47,7 +49,7 @@ openrc() {
ln -s ../../init.d/mdevd "$rldir/mdevd"
}
-sha512sums="10a6cf1658da066e781367eba3c2e0c73316089b63e6d087e87ffd5f57c960da5ecf5276bb38a089ceb804d592ddedc40291825d5c69ef8bed26208339288a8b mdevd-0.1.5.1.tar.gz
-ebc44034663423acfa403856e591b224c3aac180407fa679182f8b42ab2730592be677446ef109c15c3aedb821345f5f9fb0e38ea21a42871a46dcc1e1c37706 mdev.conf
-31231b28d0b980dda634e8b043a2ee31960493d60c2c9aac8a4f3f68ca1d130342569af2acd0bc04d9d8008b8e234ba949b64d9ec3ff1bded64b4e4f0ce3786b mdevd.run
+sha512sums="50d0b517255bc8acc25b226822186a6315569e7691511bca44a274e18bd443b9ff70e99884ffb9467c9ec85af2a1bd5256b05c92905eeca67ee14b98cd0b540d mdevd-0.1.5.2.tar.gz
+f966d66366eac3b9b9eeb9b8523ea0924ada2b858c85ca0c0151d0fb374dfbf56c49ec2210d2d5ca19aa4d9f24371c85d777050eb8bf9f57821ec65704f18717 mdev.conf
+427a5903fa2126060955dcce8144d59255a679c4973f2dbc3145a4d646e879fc241ebcaa53289498719d343c746fc376c41defa87932dcbe91192b2d6f4ed1c4 mdevd.run
3b22077f867a07493284bf1d0c0f1ec5c4359d6f6e7313ce917e354b275286833136defd3eddde967257e3dd255c7581f096bcf2f345553ce6db088296abb41f mdevd.initd"
diff --git a/system/mdevd/mdev.conf b/system/mdevd/mdev.conf
index 17b0280a7..8f5a262a5 100644
--- a/system/mdevd/mdev.conf
+++ b/system/mdevd/mdev.conf
@@ -34,7 +34,7 @@ md[0-9]* root:disk 0660 # */opt/mdev/helpers/storage-device
dm-[0-9]* root:disk 0660 # */opt/mdev/helpers/storage-device
bcache[0-9]* root:disk 0660 # */opt/mdev/helpers/storage-device
mmcblk[0-9].* root:disk 0660 # */opt/mdev/helpers/storage-device
-sr[0-9]* root:cdrom 0660 +ln -sf $MDEV cdrom
+sr[0-9]* root:cdrom 0660 # +ln -sf $MDEV cdrom
# Run settle-nics every time new NIC appear.
# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nics' without '--write-mactab' param.
@@ -60,7 +60,7 @@ rd!(.*) root:disk 0660 =rd/%1
agpgart root:root 0660 # >misc/
psaux root:root 0660 # >misc/
-rtc[0-9]* root:root 0600 +ln -sf $MDEV rtc
+rtc[0-9]* root:root 0600 # +ln -sf $MDEV rtc
# input stuff
SUBSYSTEM=input;.* root:input 0660
diff --git a/system/mdevd/mdevd.run b/system/mdevd/mdevd.run
index d4b5b8320..f4468fcf2 100644
--- a/system/mdevd/mdevd.run
+++ b/system/mdevd/mdevd.run
@@ -1,3 +1,3 @@
#!/bin/execlineb -P
-mdevd -D 3
+mdevd -D3 -O4