Changed the regexpt to match kernel files containing "_"
This commit is contained in:
parent
6efaa3365c
commit
4c34d98661
@ -39,7 +39,7 @@ class InstallTree(BaseLoraxClass):
|
|||||||
self.rootdir = rootdir
|
self.rootdir = rootdir
|
||||||
self.updatesdir = updatesdir
|
self.updatesdir = updatesdir
|
||||||
|
|
||||||
self.kpattern = re.compile(r"vmlinuz-(?P<ver>[-.0-9a-z]+?"
|
self.kpattern = re.compile(r"vmlinuz-(?P<ver>[-._0-9a-z]+?"
|
||||||
r"(?P<pae>(PAE)?)(?P<xen>(xen)?))$")
|
r"(?P<pae>(PAE)?)(?P<xen>(xen)?))$")
|
||||||
|
|
||||||
def install_packages(self, packages):
|
def install_packages(self, packages):
|
||||||
|
Loading…
Reference in New Issue
Block a user