git: bd14c0c6cdaf - stable/12 - devmatch: defer until after kld

Warner Losh imp at FreeBSD.org
Fri Jul 16 17:46:47 UTC 2021


The branch stable/12 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=bd14c0c6cdaf14fdebdf517bf161d60b3b43fa21

commit bd14c0c6cdaf14fdebdf517bf161d60b3b43fa21
Author:     Helge Oldach <freebsd at oldach.net>
AuthorDate: 2021-07-07 20:43:35 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-16 17:45:11 +0000

    devmatch: defer until after kld
    
    devmatch loads a number of things automatically. Allow the list of
    things to load to happen first in case those drivers affect what would
    be loaded. Normally, this will produce the same results, but there's
    some special cases that may not when drivers are loaded that report
    other drivers missing, like virtio_pci.
    
    PR:             253287
    Reviewed by:    imp
    MFC After:      2 weeks
---
 libexec/rc/rc.d/devmatch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.d/devmatch b/libexec/rc/rc.d/devmatch
index f1c8a2bd59f9..e45683decab7 100755
--- a/libexec/rc/rc.d/devmatch
+++ b/libexec/rc/rc.d/devmatch
@@ -26,7 +26,7 @@
 # $FreeBSD$
 #
 # PROVIDE: devmatch
-# REQUIRE: kldxref
+# REQUIRE: kld
 # BEFORE: netif
 # KEYWORD: nojail
 


More information about the dev-commits-src-all mailing list