From 488c66cc2a6b69f11097dd2e1abbf839b9bb0c6b Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Mon, 22 May 2006 00:01:02 +0200 Subject: [PATCH] kernel.bbclass: fix snafu Signed-off-by: Rene Wagner --- org.handhelds.familiar/classes/kernel.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.handhelds.familiar/classes/kernel.bbclass b/org.handhelds.familiar/classes/kernel.bbclass index c1cd251..e663643 100644 --- a/org.handhelds.familiar/classes/kernel.bbclass +++ b/org.handhelds.familiar/classes/kernel.bbclass @@ -232,7 +232,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) - if m and not bb.data.getVar('KERNEL_PRESERVE_HH_MINOR_VER'): + if m and not bb.data.getVar('KERNEL_PRESERVE_HH_MINOR_VER', d, 1): kernelver_stripped = m.group(1) path = bb.data.getVar("PATH", d, 1) host_prefix = bb.data.getVar("HOST_PREFIX", d, 1) or "" -- 2.41.1