[oe] [PATCH 2/2] x-load: add signGP to sourceipk
Koen Kooi
k.kooi at student.utwente.nl
Thu Jul 29 12:48:45 UTC 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 29-07-10 14:26, Chase Maupin wrote:
> * When creating a source ipk for the x-load program copy the
> signGP binary as well as this is needed when rebuilding.
> * Bump the PR for x-load-omap3pandora recipe.
NAK. If you want to have signgp, bitbake signgp-native. Including
'random' binaries from other recipes in packages is a no-no.
regards,
Koen
>
> Signed-off-by: Chase Maupin <chase.maupin at ti.com>
> ---
> recipes/x-load/x-load-omap3pandora_git.bb | 2 +-
> recipes/x-load/x-load.inc | 5 +++++
> 2 files changed, 6 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/x-load/x-load-omap3pandora_git.bb b/recipes/x-load/x-load-omap3pandora_git.bb
> index 05dfc20..e9e6e49 100644
> --- a/recipes/x-load/x-load-omap3pandora_git.bb
> +++ b/recipes/x-load/x-load-omap3pandora_git.bb
> @@ -9,7 +9,7 @@ SRCREV = "b3646a83f9e67ec9a2de3182fd254557fd6ad9aa"
> PROVIDES = "x-load"
>
> PV = "1.42+${PR}+gitr${SRCREV}"
> -PR ="r2"
> +PR ="r3"
> PE = "1"
>
> SRC_URI = "git://git.openpandora.org/pandora-x-loader.git;branch=master;protocol=git"
> diff --git a/recipes/x-load/x-load.inc b/recipes/x-load/x-load.inc
> index 0699c01..e786ac1 100644
> --- a/recipes/x-load/x-load.inc
> +++ b/recipes/x-load/x-load.inc
> @@ -38,6 +38,11 @@ do_install () {
>
> FILES_${PN} = "/boot"
>
> +do_create_srcipk_prepend() {
> + mkdir -p ${WORKDIR}/sourceipk-tmp/psp/x-load/host-tools
> + cp `which signGP` ${WORKDIR}/sourceipk-tmp/psp/x-load/host-tools/
> +}
> +
> do_deploy () {
> install -d ${DEPLOY_DIR_IMAGE}
> install ${S}/x-load.bin.ift ${DEPLOY_DIR_IMAGE}/${XLOAD_IMAGE}
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMUXitMkyGM64RGpERAhUYAKC6fLMHo4tdV74afqFSzzfW7JZ0XgCgrNnS
EbRbIAK7+yFW6gldUT+ETqs=
=JZx8
-----END PGP SIGNATURE-----
More information about the Openembedded-devel
mailing list