mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/snagboot: new package
This commit adds a package for Snagboot, the open-source vendor-neutral recover and reflashing tool for embedded targets. We install the dependencies needed for snagrecover and snagflash, but we don't bother installing the dependencies of the GUI-based snagfactory, as that would require Kivy on the host, which is Qt based. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
49a81c77d7
commit
bf4e1ec19f
16
support/testing/tests/package/test_snagboot.py
Normal file
16
support/testing/tests/package/test_snagboot.py
Normal file
@@ -0,0 +1,16 @@
|
||||
import infra.basetest
|
||||
|
||||
|
||||
class TestHostSnagboot(infra.basetest.BRHostPkgTest):
|
||||
hostpkgs = ["host-snagboot"]
|
||||
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
||||
"""
|
||||
BR2_PACKAGE_HOST_SNAGBOOT=y
|
||||
"""
|
||||
|
||||
def test_run(self):
|
||||
cmd = ["host/bin/snagrecover", "--help"]
|
||||
infra.run_cmd_on_host(self.builddir, cmd)
|
||||
|
||||
cmd = ["host/bin/snagflash", "--help"]
|
||||
infra.run_cmd_on_host(self.builddir, cmd)
|
||||
Reference in New Issue
Block a user