From: Rene Wagner Date: Sun, 21 May 2006 22:01:02 +0000 (+0200) Subject: kernel.bbclass: fix snafu X-Git-Tag: familiar-v0.8.4-rc3~71 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=488c66cc2a6b69f11097dd2e1abbf839b9bb0c6b;p=familiar-h63xx-build.git kernel.bbclass: fix snafu Signed-off-by: Rene Wagner --- 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 ""