summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-13 18:39:11 +0000
committerdavidovski <david@davidovski.xyz>2022-03-13 18:39:11 +0000
commitbfdef0f304e13766423aaabd1022c888e3193ff6 (patch)
treeda642096d046663fdd3455e64085aa72d442f779 /Makefile
parent9f79ba0ae923d6a66326ebb68f7e7475f8ea4d1c (diff)
fixed mkinitrd
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ff9704b..f7b9363 100644
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,9 @@ utmps:
mkdir -p $(DESTDIR)/var/log/utmps
mv $(DESTDIR)/var/log/wtmp /var/log/utmps/
-install-mkinitramfs: mkinitrd/mkinitramfs.sh mkinitrd/initramfs-init.sh
+install-mkinitramfs: mkinitrd/mkinitramfs.sh mkinitrd/init.in
+ install -d $(DESTDIR)$(PREFIX)/bin
+ install -d $(DESTDIR)$(PREFIX)/share/mkinitramfs
install -m755 mkinitrd/mkinitramfs.sh ${DESTDIR}${PREFIX}/bin/mkinitramfs
- install -m755 mkinitrd/initramfs-init.sh ${DESTDIR}${PREFIX}/bin/initramfs-init
+ install -m644 mkinitrd/init.in ${DESTDIR}${PREFIX}/share/mkinitramfs/