fix(guanghu-os): clear GRUB recordfail after readiness
This commit is contained in:
parent
527e0cb05d
commit
3e085e48a8
2 changed files with 2 additions and 0 deletions
|
|
@ -155,6 +155,7 @@ start_bridge() {
|
|||
}
|
||||
|
||||
runtime_watch() {
|
||||
/usr/bin/grub-editenv /boot/grub/grubenv unset recordfail
|
||||
json_state READY PASS_100
|
||||
cp "$STATE_ROOT/state.json" "$RECEIPT_ROOT/CURRENT-PHYSICAL-STATE.json"
|
||||
sha256sum "$RECEIPT_ROOT/CURRENT-PHYSICAL-STATE.json" >"$RECEIPT_ROOT/CURRENT-PHYSICAL-STATE.json.sha256"
|
||||
|
|
|
|||
Loading…
Reference in a new issue