aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-12-07 23:59:37 +0100
committerGravatar Christian Hesse <mail@eworm.de>2022-12-08 00:10:53 +0100
commita38b5f887eb16a2f734cdae63b9dede4941f68e6 (patch)
treeaf323628ce2c57bdeb933df467a3d2f366d36dd3 /Makefile
parent1a15f23b96aea0eadcb2937f10dfa020add676b1 (diff)
downloadmkinitcpio-archlogo-a38b5f887eb16a2f734cdae63b9dede4941f68e6.tar.gz
mkinitcpio-archlogo-a38b5f887eb16a2f734cdae63b9dede4941f68e6.tar.zst
run a script in systemd unit
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6458210..b3f8bcd 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,8 @@ all:
.PHONY: install
install:
- # install unit file
+ # install script and unit file
+ install -D -m0755 systemd/archlogo $(DESTDIR)/usr/lib/systemd/scripts/archlogo
install -D -m0644 systemd/archlogo.service $(DESTDIR)/usr/lib/systemd/system/archlogo.service
# install install-script and hook for plain old script based initramfs