From 80626aa74969393d2427cbb2d6458040f3807b05 Mon Sep 17 00:00:00 2001 From: Jose Diaz de Grenu Date: Tue, 23 Jan 2018 11:51:47 +0100 Subject: [PATCH] swupdate: update to 2017.07 Rename recipe and fix the path of the progress binary. Also on the rocko branch of meta-swupdate several signing mechanisms are supported, and the value is used as a string to determine which one to use. Signed-off-by: Jose Diaz de Grenu --- meta-digi-dey/classes/trustfence.bbclass | 2 +- .../{swupdate_2017.01.bbappend => swupdate_2017.07.bbappend} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename meta-digi-dey/recipes-support/swupdate/{swupdate_2017.01.bbappend => swupdate_2017.07.bbappend} (75%) diff --git a/meta-digi-dey/classes/trustfence.bbclass b/meta-digi-dey/classes/trustfence.bbclass index 9f1606cc2..058de583f 100644 --- a/meta-digi-dey/classes/trustfence.bbclass +++ b/meta-digi-dey/classes/trustfence.bbclass @@ -68,7 +68,7 @@ python () { # Provide sane default values for SWUPDATE class in case Trustfence is enabled if (d.getVar("TRUSTFENCE_SIGN", True) == "1"): # Enable package signing. - d.setVar("SWUPDATE_SIGNING", "1") + d.setVar("SWUPDATE_SIGNING", "RSA") # Retrieve the keys path to use. keys_path = d.getVar("TRUSTFENCE_SIGN_KEYS_PATH", True) diff --git a/meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend b/meta-digi-dey/recipes-support/swupdate/swupdate_2017.07.bbappend similarity index 75% rename from meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend rename to meta-digi-dey/recipes-support/swupdate/swupdate_2017.07.bbappend index b3af46683..fc6a930f0 100644 --- a/meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend +++ b/meta-digi-dey/recipes-support/swupdate/swupdate_2017.07.bbappend @@ -1,4 +1,4 @@ -# Copyright (C) 2016, 2017 Digi International Inc. +# Copyright (C) 2016-2018 Digi International Inc. FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" @@ -14,5 +14,5 @@ do_configure_append() { do_install_append() { # Copy the 'progress' binary. install -d ${D}${bindir}/ - install -m 0755 progress ${D}${bindir}/ + install -m 0755 tools/progress_unstripped ${D}${bindir}/progress }