Commit d7a4f374 authored by Evgeni Golov's avatar Evgeni Golov

allow the use of multiple initramfs hooks and scripts again

parent ab09402f
......@@ -47,9 +47,13 @@ install:
# Installing executables
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/hooks
cp backend/initramfs-tools/live.hook $(DESTDIR)/usr/share/initramfs-tools/hooks/live
for f in backend/initramfs-tools/*.hook; do \
cp $${f} $(DESTDIR)/usr/share/initramfs-tools/hooks/$$(basename $${f} .hook); \
mkdir -p $(DESTDIR)/usr/share/initramfs-tools/scripts
cp backend/initramfs-tools/live.script $(DESTDIR)/usr/share/initramfs-tools/scripts/live
for f in backend/initramfs-tools/*.script; do \
cp $${f} $(DESTDIR)/usr/share/initramfs-tools/scripts/$$(basename $${f} .script); \
mkdir -p $(DESTDIR)/bin
cp frontend/* $(DESTDIR)/bin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment