mdevd: 0.1.4.0

This commit is contained in:
Dylan Araps 2021-08-21 14:26:32 +03:00
parent 8483a24387
commit 4255ba99a9
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
6 changed files with 47 additions and 0 deletions

31
extra/mdevd/build Executable file
View File

@ -0,0 +1,31 @@
#!/bin/sh -e
mkdir -p junk
(
cd skalibs
./configure \
--prefix=/usr \
--disable-shared
make
make DESTDIR="$PWD/../junk" install
)
./configure \
--prefix=/usr \
--enable-static-libc \
--disable-shared \
--with-sysdeps="$PWD/junk/usr/lib/skalibs/sysdeps" \
--with-lib="$PWD/junk/usr/lib/skalibs" \
--with-include="$PWD/junk/usr/include"
make
make install
mkdir -p "$1/etc/sv/mdevd"
cp -f mdevd.conf "$1/etc"
cp -f mdevd.run "$1/etc/sv/mdevd"
ln -sf "/run/runit/supervise.mdevd" "$1/etc/sv/mdevd/supervise"
rm -rf "$1/usr/include"

4
extra/mdevd/checksums Normal file
View File

@ -0,0 +1,4 @@
ffd3b223b4cf0e51253b4a8f09cb88d70bf22693228ab0818af174a3f099dcd2
b780b0ae650dda0c3ec5f8975174998af2d24c2a2e2be669b1bab46e73b1464d
d021224bb87c30b73efcd302610af50a3e30f22b7521343eb295b5a3770c73d6
b3e6b95eaa9899939b96bfab6a8d982b15a1e04e9d12c272b83aed28c1305029

View File

@ -0,0 +1 @@
../../../core/busybox/files/mdev.conf

View File

@ -0,0 +1,6 @@
#!/bin/sh
# Null the legacy hotplugger as the service will take over from here.
printf '\n' 2>/dev/null > /proc/sys/kernel/hotplug
exec mdevd -f /etc/mdevd.conf

4
extra/mdevd/sources Normal file
View File

@ -0,0 +1,4 @@
https://skarnet.org/software/mdevd/mdevd-0.1.4.0.tar.gz
https://skarnet.org/software/skalibs/skalibs-2.10.0.3.tar.gz skalibs
files/mdevd.conf
files/mdevd.run

1
extra/mdevd/version Normal file
View File

@ -0,0 +1 @@
0.1.4.0 1