summaryrefslogtreecommitdiff
path: root/openembedded/classes/debian.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded/classes/debian.bbclass')
-rw-r--r--openembedded/classes/debian.bbclass10
1 files changed, 9 insertions, 1 deletions
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