From 8efde306bcbbf5398ba5c4b19db44ef744e8853a Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Mon, 25 May 2020 02:08:53 +0300 Subject: eudev: ditch install --- core/eudev/build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'core/eudev') diff --git a/core/eudev/build b/core/eudev/build index 297c9920..68a37e7b 100755 --- a/core/eudev/build +++ b/core/eudev/build @@ -1,5 +1,10 @@ #!/bin/sh -e +kinstall() { + mkdir -p "${2%/*}"; cp "$3" "$2" + chmod "$1" "$2" +} + ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ @@ -11,8 +16,8 @@ make make DESTDIR="$1" install # Install runit service. -install -Dm755 udevd.run "$1/etc/sv/udevd/run" +kinstall 755 "$1/etc/sv/udevd/run" udevd.run ln -s /run/runit/supervise.udevd "$1/etc/sv/udevd/supervise" # Install sysmgr service. -install -Dm755 udevd.run "$1/etc/sysmgr/udevd" +kinstall 755 "$1/etc/sysmgr/udevd" udevd.run -- cgit v1.2.3