diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2006-02-12 18:36:36 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-02-12 18:36:36 +0000 |
commit | 862c6130a58a6c87c69d2d937e66f434b9b001e0 (patch) | |
tree | e551a77d843917dac8d0e13e4c91088f5e6caf3b /classes/debian.bbclass | |
parent | ef7b99ecfed9f4a3f5064bc0c945dda789e1a7d6 (diff) |
Fix package name renaming for classes like debian.bbclass:
package.bbclass now tracks any package renaming performed using PKG_*.
When a package is built, the runtime variables are translated using
this cached information which is stored in staging.
From now on, only use package names are valid in runtime variables like
RDEPENDS, RRECOMMENDS and RSUGGESTS. eg. fontconfig-dev is correct,
libfontconfig-dev would be wrong.
As debian.bbclass can't determine package renaming until after a
package's contents is known, the class has to set BUILD_ALL_DEPS = "1".
This also means OE is no longer forced into one package renaming scheme.
Diffstat (limited to 'classes/debian.bbclass')
-rw-r--r-- | classes/debian.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/classes/debian.bbclass b/classes/debian.bbclass index 63a126ca17..5688dad93b 100644 --- a/classes/debian.bbclass +++ b/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 |