[lorax] Changed the regexpt to match kernel files containing "_"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux