Commit Graph

3 Commits

Author SHA1 Message Date
Krzesimir Nowak
d29ffa08a7
flatcar_workon: Simplify condition
Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-07-02 12:51:32 +02:00
Krzesimir Nowak
e30ca8dab6 flatcar_workon: Bring back the --host flag
Telling flatcar_workon to work on SDK instead of a board could be
implemented either by passing an empty value for --board flag and
modifying `${FLAGS_board+foo}` to `${FLAGS_board:+foo}` or by adding
the `--host` boolean flag and killing the value of `--board` flag when
`--host` is true.

I went with the latter as it clearly conveys meaning at the call
sites.
2024-07-02 12:11:46 +02:00
James Le Cuirot
26c2e935c1
Drop cros-workon.eclass and replace with git-r3.eclass
The cros_workon tool has been replaced with a simpler flatcar_workon
tool based around git-r3.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
2024-06-21 10:47:50 +01:00