diff mbox series

[meta-swupdate,v2,1/2] fix image generation when signing is enabled

Message ID 1505882880-8304-1-git-send-email-c.andersen@kostal.com
State Accepted
Headers show
Series [meta-swupdate,v2,1/2] fix image generation when signing is enabled | expand

Commit Message

Andersen, Christian Sept. 20, 2017, 4:47 a.m. UTC
When using signing openssl-native is required. Since pyro the sysroot
is deployed per recipe, so do_swuimage also requires
do_prepare_recipe_sysroot.

Signed-off-by: Christian Andersen <c.andersen@kostal.com>
---
 classes/swupdate.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stefano Babic Sept. 20, 2017, 7:50 a.m. UTC | #1
On 20/09/2017 06:47, Christian Andersen wrote:
> When using signing openssl-native is required. Since pyro the sysroot
> is deployed per recipe, so do_swuimage also requires
> do_prepare_recipe_sysroot.
> 
> Signed-off-by: Christian Andersen <c.andersen@kostal.com>
> ---
>  classes/swupdate.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/classes/swupdate.bbclass b/classes/swupdate.bbclass
> index 28297ca..5a2d963 100644
> --- a/classes/swupdate.bbclass
> +++ b/classes/swupdate.bbclass
> @@ -199,5 +199,5 @@ python do_swuimage () {
>  COMPRESSIONTYPES = ""
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
>  
> -addtask do_swuimage after do_unpack before do_install
> +addtask do_swuimage after do_unpack after do_prepare_recipe_sysroot before do_install
>  addtask do_createlink after do_swuimage before do_install
> 

Reviewed-by: Stefano Babic <sbabic@denx.de>

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/classes/swupdate.bbclass b/classes/swupdate.bbclass
index 28297ca..5a2d963 100644
--- a/classes/swupdate.bbclass
+++ b/classes/swupdate.bbclass
@@ -199,5 +199,5 @@  python do_swuimage () {
 COMPRESSIONTYPES = ""
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-addtask do_swuimage after do_unpack before do_install
+addtask do_swuimage after do_unpack after do_prepare_recipe_sysroot before do_install
 addtask do_createlink after do_swuimage before do_install