From 4c34d98661475c11d5e992b392e1379ba7360968 Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Thu, 25 Feb 2010 17:06:28 +0100 Subject: [PATCH] Changed the regexpt to match kernel files containing "_" --- src/pylorax/insttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylorax/insttree.py b/src/pylorax/insttree.py index a83b8c3d..c4270c14 100644 --- a/src/pylorax/insttree.py +++ b/src/pylorax/insttree.py @@ -39,7 +39,7 @@ class InstallTree(BaseLoraxClass): self.rootdir = rootdir self.updatesdir = updatesdir - self.kpattern = re.compile(r"vmlinuz-(?P[-.0-9a-z]+?" + self.kpattern = re.compile(r"vmlinuz-(?P[-._0-9a-z]+?" r"(?P(PAE)?)(?P(xen)?))$") def install_packages(self, packages):