From 281ca79213dc6020adbd81f6d528af90d5cb58e9 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 1 Jul 2021 16:25:53 +0000 Subject: [PATCH] acpid: remove usage of install --- extra/acpid/build | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/extra/acpid/build b/extra/acpid/build index 258802e7..04739804 100755 --- a/extra/acpid/build +++ b/extra/acpid/build @@ -7,9 +7,10 @@ make make DESTDIR="$1" install -# Install runit service. -install -Dm755 acpid.run "$1/etc/sv/acpid/run" -ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise" +mkdir -p \ + "$1/etc/acpi/events" \ + "$1/etc/sv/acpid" + +cp -f acpid.run "$1/etc/sv/acpid/run" +ln -sf /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise" -# Required otherwise daemon fails to launch. -mkdir -p "$1/etc/acpi/events"