summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass
diff options
context:
space:
mode:
authordheerajpdsk <p.dheeraj.srujan.kumar@intel.com>2022-12-03 17:23:15 +0300
committerGitHub <noreply@github.com>2022-12-03 17:23:15 +0300
commite9e8ce6060c3c89cff2ca181cf95e3dec1a6c78d (patch)
treeee5b64acbe5374240089bc65c9443dd29df482f8 /meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass
parente0c224c79550bf49928bfb75f629233b1ef07c7a (diff)
parent7dd3ed26ca09df0e582be8cc2780bba588bdd11e (diff)
downloadopenbmc-e9e8ce6060c3c89cff2ca181cf95e3dec1a6c78d.tar.xz
Merge pull request #124 from Intel-BMC/update1-0.92
Update to internal 1-0.92
Diffstat (limited to 'meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass')
-rw-r--r--meta-openbmc-mods/meta-common/classes/obmc-phosphor-full-fitimage.bbclass7
1 files changed, 5 insertions, 2 deletions
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}
#