summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGabriel <g2p.code@gmail.com>2013-04-11 16:44:03 +0200
committerKent Overstreet <koverstreet@google.com>2013-04-11 17:08:23 -0700
commit944cb4ce32b7c8a090d6ecd36eef1946d85a8048 (patch)
tree6a446827c1aebe9c354717436b737d811f825274 /Makefile
parent3088f201edfe5cb0ad6117d84146c0b2b84205e8 (diff)
Register devices with just udev.
This means bcache devices will be registered earlier and in all cases, not just when the rootfs fails to mount. The initramfs hook is still there to ensure the bcache module and udev rules are shipped if an initramfs is used.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce8c0c4..10ec79c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ install: make-bcache probe-bcache bcache-super-show
install -m0755 make-bcache bcache-super-show $(DESTDIR)${PREFIX}/sbin/
install -m0755 probe-bcache $(DESTDIR)/sbin/
install -m0644 61-bcache.rules $(DESTDIR)/lib/udev/rules.d/
- -install -m0755 initramfs/script $(DESTDIR)/etc/initramfs-tools/scripts/init-premount/bcache
+ install -m0755 bcache-register $(DESTDIR)/lib/udev/
-install -m0755 initramfs/hook $(DESTDIR)/etc/initramfs-tools/hooks/bcache
install -m0644 -- *.8 $(DESTDIR)${PREFIX}/share/man/man8
# install -m0755 bcache-test $(DESTDIR)${PREFIX}/sbin/