From 4d59761490b8d66b4deb620cdd12d01476f013c4 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 12 Mar 2026 18:59:29 +0800 Subject: python3-snagboot: upgrade 2.5 -> 2.6 treewide: Migrate documentation to readthedocs Emit more specific error messages for USB permission-based access issues Add unit tests snagflash: Support compressed input files, e.g. *.wic.bz2 Refactor fastboot-uboot logic to factor out common code and improve logging Automatically detect when oem_run isn't supported by U-Boot, and fallback to ucmd snagrecover: Support Renesas RZ/N1 platforms Support SoC model aliases, and add i.MX8MP alias Handle relative path prefixes with the -F syntax Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-snagboot_2.6.bb | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-snagboot_2.6.bb (limited to 'meta-python/recipes-devtools/python/python3-snagboot_2.6.bb') diff --git a/meta-python/recipes-devtools/python/python3-snagboot_2.6.bb b/meta-python/recipes-devtools/python/python3-snagboot_2.6.bb new file mode 100644 index 0000000000..16cc5c7882 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-snagboot_2.6.bb @@ -0,0 +1,23 @@ +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] = "8451ff4cb96f8a4dc7aca06cee8a54db900e93b4e0e946205e0856b7a4cf4632" + +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" -- cgit v1.2.3-54-g00ecf