Files
meta-openembedded/meta-python/recipes-devtools/python/python3-snagboot_2.5.bb
Rasmus Villemoes cf17d746d2 python3-snagboot: enable building -native and nativesdk- variants
It can be useful to include snagboot in the SDK, so allow building
that variant. While I don't see a use case for it during build,
there's no reason not to also allow building the -native variant while
at it.

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2026-03-17 13:25:24 -07:00

24 lines
678 B
BlitzBasic

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] = "64d114f743cf4d892a63bc35d6af45958e569030881154f9f2ffeac13cf9b664"
inherit pypi python_setuptools_build_meta
RDEPENDS:${PN} += " \
bash \
python3-fcntl \
python3-pyusb \
python3-pyyaml \
python3-setuptools \
python3-six \
"
do_install:append() {
install -D -m 0644 ${S}/src/snagrecover/50-snagboot.rules ${D}${sysconfdir}/udev/rules.d/50-snagboot.rules
}
BBCLASSEXTEND = "native nativesdk"