Page MenuHomeFreeBSD

nanobsd: Add basic update/rollback scripts
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Wed, Aug 19, 10:24 AM.
Tags
None
Referenced Files
F168020041: D58968.id185112.diff
Tue, Aug 25, 11:10 PM
F168014674: D58968.id184843.diff
Tue, Aug 25, 10:25 PM
F167973482: D58968.id184843.diff
Tue, Aug 25, 5:10 PM
Unknown Object (File)
Mon, Aug 24, 9:06 PM
Unknown Object (File)
Mon, Aug 24, 6:46 PM
Unknown Object (File)
Sun, Aug 23, 6:40 AM
Unknown Object (File)
Sun, Aug 23, 6:39 AM
Unknown Object (File)
Sat, Aug 22, 9:00 AM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

Add on target update, updatep1, updatep2 and rollback scripts for
the gpt plan. rollback sets the bootonce flag on the previous
partition so a bad update can be undone.

Co-authored-by: Angshuman Sengupta <senguptaangshuman17@gmail.com>
Sponsored by: Google LLC (GSoC 2026)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75848
Build 72731: arc lint + arc unit

Event Timeline

Address review comments: update rollback copyright to FreeBSD Foundation

tools/tools/nanobsd/legacy.sh
30

I believe this change is part of D54187 (and the changes below as well).

tools/tools/nanobsd/legacy.sh
30

I believe this change is part of D54187 (and the changes below as well).

What should I do of these changes than? Can I update D54187?

tools/tools/nanobsd/legacy.sh
30

You cannot update D54187. Try adding D54187 as a parent revision.