diff options
-rw-r--r-- | classes/kernel.bbclass | 2 |
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) |