Page MenuHomeFreeBSD

nanobsd: Refactor cust_pkgng
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Aug 19 2026, 10:26 AM.
Tags
None
Referenced Files
F173256507: D58974.id185013.diff
Thu, Sep 24, 6:22 PM
F173211568: D58974.id185117.diff
Thu, Sep 24, 8:18 AM
F173206257: D58974.id.diff
Thu, Sep 24, 7:19 AM
F173200076: D58974.id184340.diff
Thu, Sep 24, 6:28 AM
F173198347: D58974.diff
Thu, Sep 24, 6:11 AM
Unknown Object (File)
Mon, Sep 21, 7:23 PM
Unknown Object (File)
Sun, Sep 20, 8:11 PM
Unknown Object (File)
Sun, Sep 20, 2:40 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 76176
Build 73059: 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