Skip to contentSkip to conversation

python3-imgtool: add recipe

PATCH Superseded Ross Burton 3 participants 4 messages Nov 1, 2021

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-imgtool: add recipe

imgtool is part of MCUboot, used to sign images and manage keys.

---
 .../recipes-devtools/python/python3-imgtool_1.8.0.bb | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb
meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb new file +12 -0
new file mode 100644
index 0000000000..143c011a2a
@@ -0,0 +1,12 @@
+SUMMARY = "MCUboot's image signing and key management tool"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://imgtool/main.py;beginline=3;endline=18;md5=9965f09ae52c04886a1f04e13ccdce57"
+
+SRC_URI[sha256sum] = "4858f5c5f48cfa4a0bb99e60d00aa291172a7ecc2afe4fb77ed96121f59b6e2f"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = "python3-cbor python3-click python3-cryptography python3-intelhex"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.25.1
#1 lore raw
Quoted 16 lines · Ross Burton

[Please note: This e-mail is from an EXTERNAL e-mail address]

imgtool is part of MCUboot, used to sign images and manage keys.

---
  .../recipes-devtools/python/python3-imgtool_1.8.0.bb | 12 ++++++++++++
  1 file changed, 12 insertions(+)

create mode 100644 meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb

meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb new file +0 -0
new file mode 100644
index 0000000000..143c011a2a

meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb line 10

Quoted 10 lines
meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb new file +10 -0
@@ -0,0 +1,12 @@
+SUMMARY = "MCUboot's image signing and key management tool"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM ="file://imgtool/main.py;beginline=3;endline=18;md5=9965f09ae52c04886a1f04e13ccdce57"
+
+SRC_URI[sha256sum] = "4858f5c5f48cfa4a0bb99e60d00aa291172a7ecc2afe4fb77ed96121f59b6e2f"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} = "python3-cbor python3-click python3-cryptography python3-intelhex"

Did you mean python3-cbor2? The layer index suggests that python3-cbor is only in meta-iot-cloud/meta-arm/meta-ros-common.

Quoted 14 lines
meta-python/recipes-devtools/python/python3-imgtool_1.8.0.bb new file +2 -1
+
+BBCLASSEXTEND = "native nativesdk"
--

2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#93747):https://lists.openembedded.org/g/openembedded-devel/message/93747 Mute This Topic:https://lists.openembedded.org/mt/86744851/3616776
Group Owner:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw
Quoted 3 lines · Trevor Gamblin

+RDEPENDS:${PN} = "python3-cbor python3-click python3-cryptography python3-intelhex"

Did you mean python3-cbor2? The layer index suggests that python3-cbor is only in meta-iot-cloud/meta-arm/meta-ros-common.

Probably. Very curious how this worked as I don't have that layer locally! I'll double-check.

Ross

#3 lore raw
Quoted 9 lines · Ross Burton
Quoted 3 lines · Trevor Gamblin

+RDEPENDS:${PN} = "python3-cbor python3-click python3-cryptography python3-intelhex"

Did you mean python3-cbor2? The layer index suggests that python3-cbor is only in meta-iot-cloud/meta-arm/meta-ros-common.

Probably. Very curious how this worked as I don't have that layer locally! I'll double-check.

The requirements file explicitly says cbor, and it turns out I can't read your message as I do have meta-arm present.

I shall post cbor too tomorrow.

Ross