Vanilla Linux kernels are being used but the directory
file naming for for the kernels are Ubuntu specific,
clarify that.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
clean()
sys.exit(-2)
-def get_rel_spec(rel):
+def get_rel_spec_ubuntu(rel):
if ("rc" in rel):
m = re.match(r"v*(?P<VERSION>\d+)\.+" \
"(?P<PATCHLEVEL>\d+)[.]+" \
for dirname, dirnames, filenames in os.walk(modules):
dirnames.sort()
for subdirname in dirnames:
- specifics = get_rel_spec(subdirname)
+ specifics = get_rel_spec_ubuntu(subdirname)
if (not specifics):
continue
rc = False