misc/140436: pkg-add process fails when there is no /usr/src/tools/tools/nanobsd/Pkg directory

Bruce Griffiths bruce.griffiths at xtra.co.nz
Tue Nov 10 01:20:02 UTC 2009

>Number:         140436
>Category:       misc
>Synopsis:       pkg-add process fails when there is no /usr/src/tools/tools/nanobsd/Pkg directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 10 01:20:01 UTC 2009
>Originator:     Bruce Griffiths
>Release:        7.2
7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 12:21:39 UTC 2009 roote at i386-builder.daemononlogy.net:/usr/obj/usr/src/sys/GENERIC i386
nanobsd.sh fails when the /usr/src/tools/tools/nanobsd/Pkg directory doesnt exist.
Creating this directory fixes the problem. Since I no packages are required by a stratum 1 NTP server this directory didnt exist.
build nanobsd with /usr/src/tools/tools/nanobsd/Pkg missing.
Script should check for existence of the Pkg subdirectory and if it doesnt exist don't attempt to add packages.


More information about the freebsd-bugs mailing list