summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-10-16 18:27:34 +0200
committerGabriel <g2p.code@gmail.com>2013-10-16 18:29:34 +0200
commit819eb356953625964d34e05c28ed9b87b72108b4 (patch)
tree781c3cbffdf4ab0a3d12d7daff5e9bce0d7ef822
parent15f17ed3e9a8dbe44a0e60cd981f70b7a61d6f7a (diff)
Install Dracut and initramfs-tools hooks unconditionally
Distribution packagers may ignore tools that are not relevant.
-rw-r--r--Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4f9f7c5..d7f2f99 100644
--- a/Makefile
+++ b/Makefile
@@ -11,11 +11,9 @@ install: make-bcache probe-bcache bcache-super-show
$(INSTALL) -m0755 make-bcache bcache-super-show $(DESTDIR)${PREFIX}/sbin/
$(INSTALL) -m0755 probe-bcache bcache-register $(DESTDIR)$(UDEVLIBDIR)/
$(INSTALL) -m0644 69-bcache.rules $(DESTDIR)$(UDEVLIBDIR)/rules.d/
- -$(INSTALL) -T -m0755 initramfs/hook $(DESTDIR)/usr/share/initramfs-tools/hooks/bcache
- if [ -d $(DESTDIR)$(DRACUTLIBDIR)/modules.d ]; \
- then $(INSTALL) -D -m0755 dracut/module-setup.sh $(DESTDIR)$(DRACUTLIBDIR)/modules.d/90bcache/module-setup.sh; \
- fi
$(INSTALL) -m0644 -- *.8 $(DESTDIR)${PREFIX}/share/man/man8/
+ $(INSTALL) -D -m0755 initramfs/hook $(DESTDIR)/usr/share/initramfs-tools/hooks/bcache
+ $(INSTALL) -D -m0755 dracut/module-setup.sh $(DESTDIR)$(DRACUTLIBDIR)/modules.d/90bcache/module-setup.sh
# $(INSTALL) -m0755 bcache-test $(DESTDIR)${PREFIX}/sbin/
clean: