Page MenuHomeFreeBSD

nanobsd: Add basic update/rollback scripts
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Aug 19 2026, 10:24 AM.
Tags
None
Referenced Files
F174178164: D58968.diff
Thu, Oct 1, 4:21 AM
Unknown Object (File)
Wed, Sep 30, 3:04 AM
Unknown Object (File)
Mon, Sep 28, 12:17 PM
Unknown Object (File)
Mon, Sep 28, 1:22 AM
Unknown Object (File)
Fri, Sep 25, 9:48 PM
Unknown Object (File)
Fri, Sep 25, 6:41 AM
Unknown Object (File)
Fri, Sep 25, 1:28 AM
Unknown Object (File)
Thu, Sep 24, 11:22 PM
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.

Diff Detail

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

Event Timeline

Address review comments: update rollback copyright to FreeBSD Foundation

tools/tools/nanobsd/legacy.sh
30 ↗(On Diff #184602)

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

tools/tools/nanobsd/legacy.sh
30 ↗(On Diff #184602)

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 ↗(On Diff #184602)

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