summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-09-16 17:57:13 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-09-16 23:47:30 -0400
commit75fcddb7a2ef30a9bf60947bd4641cf44704a5ec (patch)
tree75c36d9cbc190a2ec0af0a6f8a3487b7c6849de7
parent49f0c654acbaa306241facfa102a317143745f96 (diff)
Makefile: install DKMS
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--Makefile2
-rw-r--r--debian/control3
2 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 43ef8cec..6880b080 100644
--- a/Makefile
+++ b/Makefile
@@ -203,7 +203,7 @@ cmd_version.o : .version
.PHONY: install
install: INITRAMFS_HOOK=$(INITRAMFS_DIR)/hooks/bcachefs
install: INITRAMFS_SCRIPT=$(INITRAMFS_DIR)/scripts/local-premount/bcachefs
-install: bcachefs $(optional_install)
+install: bcachefs install_dkms $(optional_install)
$(INSTALL) -m0755 -D $(BUILT_BIN) -t $(DESTDIR)$(ROOT_SBINDIR)
$(INSTALL) -m0644 -D bcachefs.8 -t $(DESTDIR)$(PREFIX)/share/man/man8/
$(INSTALL) -m0755 -D initramfs/script $(DESTDIR)$(INITRAMFS_SCRIPT)
diff --git a/debian/control b/debian/control
index 9beb0cbb..29e92a9c 100644
--- a/debian/control
+++ b/debian/control
@@ -20,12 +20,11 @@ Build-Depends: debhelper-compat (= 13),
libzstd-dev,
pkgconf,
python3-docutils,
- python3-pytest,
python3:native,
- rustfmt,
systemd-dev,
uuid-dev,
zlib1g-dev,
+Depends: dkms
Homepage: https://bcachefs.org/
Vcs-Git: https://salsa.debian.org/debian/bcachefs-tools.git
Vcs-Browser: https://salsa.debian.org/debian/bcachefs-tools