cro3
cro3 copied to clipboard
Warn (and confirm interactively) if user deploy "libchrome"
libchrome is a core library of the ChromeOS, and it is frequently updated incompatible way. Thus the user deploy a different version of libchrome, the DUT can be easily bricked.
If lium deploy finds libchrome in the packages list, it can warn user that something like "This can brick the DUT, do you really want to deploy libchrome? [Yes/No]"
And it also recommend user to sync the DUT's image version to the local cros-sdk version.
I recommend not to do this interactively and just fail by default (and ask them to append -f), to follow the unix command line standards.