Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Depmod on Fedora 12 requires the module to be specified as
an absolute path, making "make install" in drbd/ fail.
Run depmod on an installed drbd.ko, not on ./drbd.ko.
---
drbd/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drbd/Makefile b/drbd/Makefile
index 36b3bf8..511a1cc 100644
--- a/drbd/Makefile
+++ b/drbd/Makefile
@@ -190,10 +190,10 @@ else
install -m 644 $(MODOBJ) $(DESTDIR)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)
ifeq ($(DESTDIR),/)
ifeq ($(shell uname -r),$(KERNELRELEASE))
- /sbin/depmod -a || /sbin/depmod -e $(MODOBJ) 2>&1 >/dev/null || true
+ /sbin/depmod -a || /sbin/depmod -e $(DESTDIR)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)/$(MODOBJ) 2>&1 >/dev/null || true
else
[ -e $(LINUX)/System.map ] && \
- /sbin/depmod -F $(LINUX)/System.map -e ./$(MODOBJ) 2>&1 >/dev/null || true
+ /sbin/depmod -F $(LINUX)/System.map -e $(DESTDIR)/lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)/$(MODOBJ) 2>&1 >/dev/null || true
endif
endif
else
--
1.6.5.2
--
| Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839 Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/ Journal: http://www.fi.muni.cz/~kas/blog/ |
Please don't top post and in particular don't attach entire digests to your
mail or we'll all soon be using bittorrent to read the list. --Alan Cox