summaryrefslogtreecommitdiff
path: root/tools/u_boot_pylib/tools.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-03-20 07:59:24 -0600
committerTom Rini <trini@konsulko.com>2025-04-08 13:51:09 -0600
commitfce92e304fcd8bdba522a43aeef12cc3b0b2df56 (patch)
tree9015a2bda1933003d53ea796e97c0d05036cb554 /tools/u_boot_pylib/tools.py
parentf98d2a31271dd3357e4f13a77b62cd383bd3f09d (diff)
test/py/tests: Move "setup_image" from test_ut.py to fs_helper.py
The generic function in test_ut.py to create a disk image with partition table can be useful outside of test_ut.py so move it to be available more clearly. To make this a bit more easily used library function, make use of check_call directly rather than calling things though u_boot_utils. In turn, to more easily handle stdin here, use the shell "printf" utility to pass sfdisk the specification to create as we do not have an actual file descriptor to use here. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'tools/u_boot_pylib/tools.py')
0 files changed, 0 insertions, 0 deletions