summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2005-08-24 19:06:42 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-24 19:06:42 +0000
commitd3eeeac0ab3f76477ae7cd8a8da18d70cd390e1e (patch)
treee6b524b2b159e0c70a7361005ceb52c4f4b33533 /classes/kernel.bbclass
parentefab019e257e5bdec759536887d565a0f5a825e6 (diff)
fix regexp to strip cvs kernel versions, too. (fixes #230)
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 8b2186dec6..2f3a0ce31e 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -229,7 +229,7 @@ python populate_packages_prepend () {
kernelver = bb.data.getVar('PV', d, 1) + bb.data.getVar('KERNEL_LOCALVERSION', d, 1)
kernelver_stripped = kernelver
- m = re.match('^(.*-hh.*)\..*$', kernelver)
+ m = re.match('^(.*-hh.*)[\.\+].*$', kernelver)
if m:
kernelver_stripped = m.group(1)
path = bb.data.getVar("PATH", d, 1)