Skip to content

Comments

__main__: make --device optional when --device-dict is provided#52

Merged
roxell merged 1 commit intomasterfrom
device-dict-optional-device
Feb 6, 2026
Merged

__main__: make --device optional when --device-dict is provided#52
roxell merged 1 commit intomasterfrom
device-dict-optional-device

Conversation

@bhcopeland
Copy link
Member

Derive the device name from the device-dict filename by trying common prefixes (nfs-, fastboot-, flasher-) against the registered device list.

@bhcopeland bhcopeland force-pushed the device-dict-optional-device branch from fe27b94 to e51f7c8 Compare February 6, 2026 14:39
@bhcopeland bhcopeland force-pushed the device-dict-optional-device branch from 9cb6a1c to 9d768dc Compare February 6, 2026 14:59
@bhcopeland bhcopeland force-pushed the device-dict-optional-device branch from 9d768dc to 067cf0d Compare February 6, 2026 15:01
Derive the device name from the device-dict filename by matching
against registered devices using a suffix match.

Fixes: 6cd3179 ("__main__: make --device optional when --device-dict is provided")
Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
@bhcopeland bhcopeland force-pushed the device-dict-optional-device branch from 067cf0d to d5fc0e1 Compare February 6, 2026 15:22
@roxell roxell merged commit 988b32a into master Feb 6, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants