Bug 230642 - Article "Introduction to NanoBSD" still refers to pkg_add
Summary: Article "Introduction to NanoBSD" still refers to pkg_add
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-15 11:21 UTC by f.toscan
Modified: 2022-11-06 17:34 UTC (History)
1 user (show)

See Also:


Attachments
Patch (976 bytes, patch)
2018-08-15 11:21 UTC, f.toscan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description f.toscan 2018-08-15 11:21:22 UTC
Created attachment 196215 [details]
Patch

Section 2.3 of Introduction to NanoBSD article shows how to write a custom function to install packages using pkg_add.

Since 9.X is unsupported and NanoBSD flavors cust_pkgng, the howto could be updated to list cust_pkgng in section 2.3.2 and remove the example above.

Patch attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-11-06 17:31:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=988b560031973b356cba26d06fd01ebdeb813785

commit 988b560031973b356cba26d06fd01ebdeb813785
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2022-11-06 17:28:51 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2022-11-06 17:28:51 +0000

    Add cust_pkgng to NanoBSD

    PR:             230642
    Patch by:       <f.toscan@hotmail.it> and converted to AsciiDoc by
                    carlavilla@

 documentation/content/en/articles/nanobsd/_index.adoc | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2022-11-06 17:34:37 UTC
Fixed. Thanks!