[1/8] classes/kernel-fitimage: add variable for description

Submitted by Paul Eggleton on Dec. 17, 2020, 2:51 a.m. | Patch ID: 179003

Details

Message ID 384aea84fb802a2cb20101887b6c6d82e438ef17.1608173226.git.paul.eggleton@linux.microsoft.com
State Accepted
Commit 47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8
Headers show

Commit Message

Paul Eggleton Dec. 17, 2020, 2:51 a.m.
From: Paul Eggleton <paul.eggleton@microsoft.com>


Add a FIT_DESC variable to make it possible to change how the
description is set in the FIT image.

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>

---
 meta/classes/kernel-fitimage.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-- 
1.8.3.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#145802): https://lists.openembedded.org/g/openembedded-core/message/145802
Mute This Topic: https://lists.openembedded.org/mt/79028969/1003190
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index bb2f3c4..f121eee 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -72,6 +72,9 @@  FIT_KEY_REQ_ARGS ?= "-batch -new"
 # Standard format for public key certificate
 FIT_KEY_SIGN_PKCS ?= "-x509"
 
+# Description string
+FIT_DESC ?= "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}"
+
 #
 # Emit the fitImage ITS header
 #
@@ -81,7 +84,7 @@  fitimage_emit_fit_header() {
 /dts-v1/;
 
 / {
-        description = "U-Boot fitImage for ${DISTRO_NAME}/${PV}/${MACHINE}";
+        description = "${FIT_DESC}";
         #address-cells = <1>;
 EOF
 }