-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remote/client: add write-files command
Analogously to write-image, add a write-file command that can be used to overwrite (or create anew) a single file in a file system located on a USBStorageDriver. This is useful for faster iteration during bootloader development when a bootloader is loaded from a file system. Following usages are supported: labgrid-client write-files a b # writes files a, b into /mnt/ labgrid-client write-files -t a b c # writes files b, c into /mnt/a/ labgrid-client write-files -T a b # writes file b to /mnt/a Where /mnt is some dynamic path on the, possibly remote, host exporting the USBStorageDriver. Signed-off-by: Stefan Wiehler <stefan.wiehler@missinglinkelectronics.com> Co-authored-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
- Loading branch information
Showing
5 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -888,6 +888,7 @@ _labgrid_client() | |
audio \ | ||
tmc \ | ||
write-image \ | ||
write-files \ | ||
reserve \ | ||
cancel-reservation \ | ||
wait \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters