aboutsummaryrefslogtreecommitdiff
path: root/core/eudev/build
diff options
context:
space:
mode:
Diffstat (limited to 'core/eudev/build')
-rwxr-xr-xcore/eudev/build14
1 files changed, 14 insertions, 0 deletions
diff --git a/core/eudev/build b/core/eudev/build
new file mode 100755
index 00000000..07b1bbd1
--- /dev/null
+++ b/core/eudev/build
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+
+./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-hwdb \
+ --disable-introspection
+
+make
+make DESTDIR="$1" install
+
+# Install runit service.
+install -Dm755 udevd.run "$1/etc/sv/udevd/run"
+ln -s /run/runit/supervise.udevd "$1/etc/sv/udevd/supervise"