Page MenuHomeFreeBSD

nanobsd: Refactor cust_pkgng
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Aug 19 2026, 10:26 AM.
Tags
None
Referenced Files
F175408982: D58974.id185013.diff
Sat, Oct 10, 4:03 PM
Unknown Object (File)
Fri, Oct 9, 12:22 AM
Unknown Object (File)
Wed, Oct 7, 4:57 AM
Unknown Object (File)
Tue, Oct 6, 12:21 PM
Unknown Object (File)
Tue, Oct 6, 10:14 AM
Unknown Object (File)
Tue, Oct 6, 6:04 AM
Unknown Object (File)
Mon, Oct 5, 9:44 AM
Unknown Object (File)
Sun, Oct 4, 7:31 PM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

Move the existing function to the legacy plan, as it is
incompatible with this implementation.

Create a new cust_pkgng()

Diff Detail

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

Event Timeline

tools/tools/nanobsd/customizations.sh
201

This removal seems unrelated.

tools/tools/nanobsd/legacy.sh
631

We may reference D58888 here (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=296409), but that part will get fixed soon. The real reason we skip with -U is because of the invalid metalog pkg may produce.

tools/tools/nanobsd/legacy.sh
631

should it be as part of the comment or the print message?

tools/tools/nanobsd/legacy.sh
631

Comment.

Refactor cust_pkgng to direct tgt_pkg install and add unprivileged build check