diff options
Diffstat (limited to 'openembedded/classes/debian.bbclass')
| -rw-r--r-- | openembedded/classes/debian.bbclass | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openembedded/classes/debian.bbclass b/openembedded/classes/debian.bbclass index d66c1fc763..5688dad93b 100644 --- a/openembedded/classes/debian.bbclass +++ b/openembedded/classes/debian.bbclass | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | STAGING_PKGMAPS_DIR = "${STAGING_DIR}/pkgmaps/debian" | ||
| 2 | |||
| 3 | # Debain package renaming only occurs when a package is built | ||
| 4 | # We therefore have to make sure we build all runtime packages | ||
| 5 | # before building the current package to make the packages runtime | ||
| 6 | # depends are correct | ||
| 7 | BUILD_ALL_DEPS = "1" | ||
| 8 | |||
| 1 | python debian_package_name_hook () { | 9 | python debian_package_name_hook () { |
| 2 | import glob, copy, stat, errno, re | 10 | import glob, copy, stat, errno, re |
| 3 | 11 | ||
| @@ -74,7 +82,7 @@ python debian_package_name_hook () { | |||
| 74 | if soname_result: | 82 | if soname_result: |
| 75 | (pkgname, devname) = soname_result | 83 | (pkgname, devname) = soname_result |
| 76 | for pkg in packages.split(): | 84 | for pkg in packages.split(): |
| 77 | if (bb.data.getVar('PKG_' + pkg, d)): | 85 | if (bb.data.getVar('PKG_' + pkg, d) or bb.data.getVar('DEBIAN_NOAUTONAME_' + pkg, d)): |
| 78 | continue | 86 | continue |
| 79 | if pkg == orig_pkg: | 87 | if pkg == orig_pkg: |
| 80 | newpkg = pkgname | 88 | newpkg = pkgname |
