Changed the regexpt to match kernel files containing "_"

This commit is contained in:
Martin Gracik 2010-02-25 17:06:28 +01:00
parent 6efaa3365c
commit 4c34d98661
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ class InstallTree(BaseLoraxClass):
self.rootdir = rootdir
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)?))$")
def install_packages(self, packages):