Page MenuHomeFreeBSD

release: Keep the pkg build in OBJDIR
Needs ReviewPublic

Authored by ivy on Jan 6 2026, 12:35 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Feb 21, 6:54 PM
Unknown Object (File)
Fri, Feb 20, 7:03 PM
Unknown Object (File)
Thu, Feb 19, 4:15 AM
Unknown Object (File)
Wed, Feb 18, 12:07 PM
Unknown Object (File)
Tue, Feb 17, 3:06 AM
Unknown Object (File)
Jan 20 2026, 12:08 AM
Unknown Object (File)
Jan 18 2026, 10:13 AM
Unknown Object (File)
Jan 17 2026, 1:48 AM
Subscribers

Details

Reviewers
None
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