diff options
| author | Richard Purdie <richard@openedhand.com> | 2006-02-27 13:18:52 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2006-02-27 13:18:52 +0000 |
| commit | 3ddfbc771904e34273bea4a829fbf3ce1f13be30 (patch) | |
| tree | 84d058181ff851fc594a2dea022dbf5ea3f39b5b /openembedded/classes/debian.bbclass | |
| parent | e6c95ae25926d7e8cb2f1516ec5c03eb947d11f7 (diff) | |
| download | poky-3ddfbc771904e34273bea4a829fbf3ce1f13be30.tar.gz | |
Bitbake classes updates from OE
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@294 311d38ba-8fff-0310-9ca6-ca027cbcb966
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 |
