From d90e29996fdd96f44b12beaf35c88e2e519ac0e4 Mon Sep 17 00:00:00 2001 From: "Luis R. Rodriguez" Date: Wed, 10 Apr 2013 13:00:26 -0700 Subject: backports: add blacklist module support This lets us provide a simple map of new drivers and old drivers that it replaces at install time. This generates a blacklist via the file: /etc/modprobe.d/backports.conf Signed-off-by: Luis R. Rodriguez Signed-off-by: Johannes Berg --- backport/Makefile.real | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backport/Makefile.real') diff --git a/backport/Makefile.real b/backport/Makefile.real index 40668c24..032a8d75 100644 --- a/backport/Makefile.real +++ b/backport/Makefile.real @@ -87,6 +87,7 @@ install: modules @$(MAKE) -C $(KLIB_BUILD) M=$(BACKPORT_PWD) \ INSTALL_MOD_DIR=$(KMODDIR) $(KMODPATH_ARG) \ modules_install + @./scripts/blacklist.sh $(KLIB)/ $(KLIB)/$(KMODDIR) @/sbin/depmod -ae @echo @echo Your backported driver modules should be installed now. @@ -95,7 +96,5 @@ install: modules # FIXME: # compress modules # check depmod -# iwlwifi vs. iwlagn -# iwl4965 vs. iwlagn # install/load/unload/... scripts? # compat firmware class udev stuff -- cgit v1.2.3