cro3 icon indicating copy to clipboard operation
cro3 copied to clipboard

Warn (and confirm interactively) if user deploy "libchrome"

Open hikalium opened this issue 1 year ago • 1 comments

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.

hikalium avatar Jun 26 '23 10:06 hikalium

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.

hikalium avatar Jun 26 '23 10:06 hikalium