FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-25-2010, 03:07 PM
Martin Gracik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 04:12 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org