[Bug 269884] [nanoBSD] cust_pkgng() fetches ports-mgmt/pkg from remote regardless of required package

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Feb 2023 20:44:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269884

            Bug ID: 269884
           Summary: [nanoBSD] cust_pkgng() fetches ports-mgmt/pkg from
                    remote regardless of required package
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: embhd@posteo.de

Created attachment 240489
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240489&action=edit
Patch

Somewhat related to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260467:
Since /usr/sbin/pkg cannot add ports-mgmt/pkg via directory path as required by
cust_pkgng() in /usr/src/tools/tools/nanobsd/defaults.sh, it defaults to
bootstrapping from remote.

The proposed solution is to use the build system's ports-mgmt/pkg, which
chroots to ${NANO_WORLDDIR}.

-- 
You are receiving this mail because:
You are the assignee for the bug.