acpid: remove usage of install

This commit is contained in:
Dylan Araps 2021-07-01 16:25:53 +00:00
parent 2eb7a4ecca
commit 281ca79213
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

View File

@ -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"