[oe] [PATCH 2/2] x-load: add signGP to sourceipk

Chase Maupin chasemaupin03 at gmail.com
Thu Jul 29 12:26:17 UTC 2010


* 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.

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}
-- 
1.7.0.4





More information about the Openembedded-devel mailing list