Changed the regexpt to match kernel files containing "_"
---
src/pylorax/insttree.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/pylorax/insttree.py b/src/pylorax/insttree.py
index a83b8c3..c4270c1 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<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):
--
1.6.6
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|