diff --git a/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig b/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig index 009cfaf4c..9a5ab2f92 100644 --- a/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig +++ b/meta-digi-dey/recipes-support/swupdate/swupdate/defconfig @@ -35,7 +35,7 @@ CONFIG_EXTRA_LDLIBS="" # CONFIG_WERROR is not set # CONFIG_NOCLEANUP is not set # CONFIG_DOWNLOAD is not set -# CONFIG_HASH_VERIFY is not set +CONFIG_HASH_VERIFY=y # CONFIG_SIGNED_IMAGES is not set # CONFIG_ENCRYPTED_IMAGES is not set # CONFIG_SURICATTA is not set diff --git a/meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend b/meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend index e5fae592d..b3af46683 100644 --- a/meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend +++ b/meta-digi-dey/recipes-support/swupdate/swupdate_2017.01.bbappend @@ -2,6 +2,15 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:" +do_configure_append() { + # If Trustfence is enabled, enable the signing support in the + # '.config' file. + if [ "${TRUSTFENCE_SIGN}" = "1" ]; then + echo "CONFIG_SIGNED_IMAGES=y" >> ${S}/.config + cml1_do_configure + fi +} + do_install_append() { # Copy the 'progress' binary. install -d ${D}${bindir}/