Page MenuHomeFreeBSD

release: Keep the pkg build in OBJDIR
AcceptedPublic

Authored by ivy on Jan 6 2026, 12:35 AM.
Tags
None
Referenced Files
F152460823: D54546.id169142.diff
Wed, Apr 15, 2:43 AM
Unknown Object (File)
Sun, Apr 12, 1:05 AM
Unknown Object (File)
Sat, Apr 11, 7:58 PM
Unknown Object (File)
Wed, Apr 8, 9:48 AM
Unknown Object (File)
Tue, Apr 7, 1:41 AM
Unknown Object (File)
Thu, Mar 26, 4:36 PM
Unknown Object (File)
Thu, Mar 19, 5:02 AM
Unknown Object (File)
Mar 6 2026, 5:49 AM
Subscribers

Details

Reviewers
emaste
Group Reviewers
releng
Summary

Instead of using /tmp for building the pkg package, use a directory
under ${OBJDIR}. This means we don't clutter /tmp (which may be a
tmpfs) with random junk, and all the build artefacts for a particular
build are in the same place.

While here, make make-pkg-package.sh fail properly if anything goes
wrong during the build, rather than just not building the package
and producing confusing errors later.

Diff Detail

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