From 3ddfbc771904e34273bea4a829fbf3ce1f13be30 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 27 Feb 2006 13:18:52 +0000 Subject: Bitbake classes updates from OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@294 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/classes/debian.bbclass | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'openembedded/classes/debian.bbclass') diff --git a/openembedded/classes/debian.bbclass b/openembedded/classes/debian.bbclass index d66c1fc76..5688dad93 100644 --- a/openembedded/classes/debian.bbclass +++ b/openembedded/classes/debian.bbclass @@ -1,3 +1,11 @@ +STAGING_PKGMAPS_DIR = "${STAGING_DIR}/pkgmaps/debian" + +# Debain package renaming only occurs when a package is built +# We therefore have to make sure we build all runtime packages +# before building the current package to make the packages runtime +# depends are correct +BUILD_ALL_DEPS = "1" + python debian_package_name_hook () { import glob, copy, stat, errno, re @@ -74,7 +82,7 @@ python debian_package_name_hook () { if soname_result: (pkgname, devname) = soname_result for pkg in packages.split(): - if (bb.data.getVar('PKG_' + pkg, d)): + if (bb.data.getVar('PKG_' + pkg, d) or bb.data.getVar('DEBIAN_NOAUTONAME_' + pkg, d)): continue if pkg == orig_pkg: newpkg = pkgname -- cgit v1.2.3