Skip to contentSkip to conversation

snagboot: new recipe

PATCH Superseded Bartosz Golaszewski 2 participants 3 messages May 26, 2023 – May 27, 2023

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 snagboot: new recipe

From: Bartosz Golaszewski <[email protected]>

Add a recipe that builds snagrecover and snagflash. These tools are useful for yocto-based distros used to control DUTs in board farms.

---
 .../recipes-support/snagboot/snagboot_1.0.bb    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-support/snagboot/snagboot_1.0.bb
meta-oe/recipes-support/snagboot/snagboot_1.0.bb new file +17 -0
new file mode 100644
index 000000000..1500353ae
@@ -0,0 +1,17 @@
+SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific tools used to recover and/or reflash embedded platforms."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI[sha256sum] = "c2d21cadddecfd97dd62a8b66b6f88bd56272627b9b71272e9dda6f868ee8715"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+    bash \
+    python3-fcntl \
+    python3-pyusb \
+    python3-pyyaml \
+    python3-setuptools \
+    python3-six \
+"
Signature · 1 line
2.39.2
#1 lore raw

Seeing this error

Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'snagboot', 'python3-pyusb']

Perhaps this recipe should be in meta-python or under meta-oe/dynamic-layers/meta-python

Quoted 38 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

Add a recipe that builds snagrecover and snagflash. These tools are useful for yocto-based distros used to control DUTs in board farms.

---
 .../recipes-support/snagboot/snagboot_1.0.bb    | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 meta-oe/recipes-support/snagboot/snagboot_1.0.bb
meta-oe/recipes-support/snagboot/snagboot_1.0.bb new file +17 -1
new file mode 100644
index 000000000..1500353ae
@@ -0,0 +1,17 @@
+SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific tools used to recover and/or reflash embedded platforms."
+
+LICENSE = "GPL-2.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI[sha256sum] = "c2d21cadddecfd97dd62a8b66b6f88bd56272627b9b71272e9dda6f868ee8715"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += " \
+    bash \
+    python3-fcntl \
+    python3-pyusb \
+    python3-pyyaml \
+    python3-setuptools \
+    python3-six \
+"
--

2.39.2

#2 lore raw
Quoted 9 lines · Khem Raj

Seeing this error

Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'snagboot', 'python3-pyusb']

Perhaps this recipe should be in meta-python or under meta-oe/dynamic-layers/meta-python

It's a python package and fetched from pypi so I'll move it over to meta-python.

Bart