[OE-core] [PATCH 2/21] Add directory information to the pkgdata files
Martin Jansa
martin.jansa at gmail.com
Wed May 29 15:59:06 UTC 2013
On Wed, May 29, 2013 at 10:09:44AM -0500, Mark Hatle wrote:
> Add S(ource) and B(uild) directory information to the recipe pkgdata files.
> This allows external tools to find the appropriate information, and be able
> to easily access the corresponding sources and build directories.
>
> Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
> ---
> meta/classes/package.bbclass | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
> index 02a1460..19b2b4c 100644
> --- a/meta/classes/package.bbclass
> +++ b/meta/classes/package.bbclass
> @@ -1124,6 +1124,8 @@ python emit_pkgdata() {
>
> data_file = pkgdatadir + d.expand("/${PN}" )
> f = open(data_file, 'w')
> + f.write("S: %s\n" % d.expand("${S}"))
> + f.write("B: %s\n" % d.expand("${B}"))
> f.write("PACKAGES: %s\n" % packages)
> f.close()
how does this interact with sstate? does setscene task create
pkgdata with right paths?
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130529/4b524ccd/attachment-0002.sig>
More information about the Openembedded-core
mailing list