diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-05-27 21:09:02 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-05-28 16:35:00 -0700 |
| commit | ceb4c4019b0e6d2d15bded3976723646316c156a (patch) | |
| tree | 568286be720bef9d2be0d471d874e7327921bb42 /meta-python/recipes-devtools/python/python3-snagboot_1.0.bb | |
| parent | 227d7536f92892206aae740c2ec1c19ac730b63d (diff) | |
| download | meta-openembedded-ceb4c4019b0e6d2d15bded3976723646316c156a.tar.gz | |
python3-snagboot: new recipe
Add a recipe that builds snagrecover and snagflash. These tools are
useful for yocto-based distros used to control DUTs in board farms.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-snagboot_1.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-snagboot_1.0.bb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-snagboot_1.0.bb b/meta-python/recipes-devtools/python/python3-snagboot_1.0.bb new file mode 100644 index 0000000000..1853596b46 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-snagboot_1.0.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | SUMMARY = "Snagboot intends to be an open-source replacement vendor-specific tools used to recover and/or reflash embedded platforms." | ||
| 2 | |||
| 3 | LICENSE = "GPL-2.0-only" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "c2d21cadddecfd97dd62a8b66b6f88bd56272627b9b71272e9dda6f868ee8715" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta | ||
| 9 | |||
| 10 | RDEPENDS:${PN} += " \ | ||
| 11 | bash \ | ||
| 12 | python3-fcntl \ | ||
| 13 | python3-pyusb \ | ||
| 14 | python3-pyyaml \ | ||
| 15 | python3-setuptools \ | ||
| 16 | python3-six \ | ||
| 17 | " | ||
| 18 | |||
| 19 | do_install:append() { | ||
| 20 | install -D -m 0644 ${S}/src/snagrecover/80-snagboot.rules ${D}${sysconfdir}/udev/rules.d/80-snagboot.rules | ||
| 21 | } | ||
