Update insmod_platform() for new module paths.

This commit is contained in:
Jeffrey Townsend
2017-01-12 21:22:59 +00:00
parent 052cb047e2
commit 4fcc589cbf

View File

@@ -243,7 +243,9 @@ class OnlPlatformBase(object):
'-'.join(self.PLATFORM.split('-')[:-1]) ]
for subdir in directories:
d = "/lib/modules/%s/%s" % (kv, subdir)
d = "/lib/modules/%s/onl/%s/%s" % (kv,
self.MANUFACTURER.lower(),
subdir)
if os.path.isdir(d):
for f in os.listdir(d):
if f.endswith(".ko"):