From 7dd3ed26ca09df0e582be8cc2780bba588bdd11e Mon Sep 17 00:00:00 2001
From: P Dheeraj Srujan Kumar
Date: Fri, 2 Dec 2022 23:23:31 +0530
Subject: Update to internal 1-0.92
Signed-off-by: P Dheeraj Srujan Kumar
---
.../meta-common/classes/obmc-phosphor-full-fitimage.bbclass | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
(limited to 'meta-openbmc-mods/meta-common/classes')
diff --git a/meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass b/meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass
index 6e0411a5c..db2e61aa8 100644
--- a/meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass
+++ b/meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass
@@ -340,8 +340,11 @@ fitimage_assemble() {
DTBS=""
ramdiskcount=${3}
setupcount=""
- #hash_type="sha256"
- hash_type=""
+ if [ ! -z ${SPL_BINARY} ]; then
+ hash_type="sha256"
+ else
+ hash_type=""
+ fi
rm -f ${1} ${2}
#
--
cgit v1.2.3