mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
Move probe-bcache to UDEVLIBDIR
This commit is contained in:
parent
0c7a484a5b
commit
86ba62c6a1
@ -11,7 +11,7 @@ ENV{ID_FS_TYPE}=="bcache", GOTO="bcache_backing_found"
|
||||
ENV{ID_FS_TYPE}=="?*", GOTO="bcache_backing_end"
|
||||
|
||||
# Backing devices: scan, symlink, register
|
||||
IMPORT{program}="/sbin/probe-bcache -o udev $tempnode"
|
||||
IMPORT{program}="probe-bcache -o udev $tempnode"
|
||||
ENV{ID_FS_TYPE}!="bcache", GOTO="bcache_backing_end"
|
||||
ENV{ID_FS_UUID_ENC}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID_ENC}"
|
||||
|
||||
|
6
Makefile
6
Makefile
@ -1,14 +1,14 @@
|
||||
|
||||
PREFIX=/usr
|
||||
UDEVLIBDIR=/lib/udev
|
||||
CFLAGS+=-O2 -Wall -g
|
||||
|
||||
all: make-bcache probe-bcache bcache-super-show
|
||||
|
||||
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 69-bcache.rules $(DESTDIR)/lib/udev/rules.d/
|
||||
install -m0755 bcache-register $(DESTDIR)/lib/udev/
|
||||
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
|
||||
install -m0644 -- *.8 $(DESTDIR)${PREFIX}/share/man/man8/
|
||||
# install -m0755 bcache-test $(DESTDIR)${PREFIX}/sbin/
|
||||
|
@ -18,5 +18,5 @@ esac
|
||||
|
||||
cp -pt "${DESTDIR}/lib/udev/rules.d" /lib/udev/rules.d/69-bcache.rules
|
||||
copy_exec /lib/udev/bcache-register
|
||||
copy_exec /sbin/probe-bcache
|
||||
copy_exec /lib/udev/probe-bcache
|
||||
manual_add_modules bcache
|
||||
|
Loading…
Reference in New Issue
Block a user