google / google/cro3

Call cros_sdk --replace automatically when chroot is too new after sync

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
P2
Dominant language
Rust
Stars
50
Forks
18
PR merge metrics
No merged PRs in 30d

Description

update chroot can fail with:

```
00:38:43.861: ERROR: Missing upgrade hook for version 222.
Chroot is too new. Consider running:
cros_sdk --replace
```

Detect the message and run `cros_sdk --replace` automatically to fix the issue automatically

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.