Page MenuHomeFreeBSD

release: Keep the pkg build in OBJDIR
AcceptedPublic

Authored by ivy on Jan 6 2026, 12:35 AM.
Tags
None
Referenced Files
F161460994: D54546.diff
Sat, Jul 4, 12:47 AM
Unknown Object (File)
Fri, Jul 3, 11:02 AM
Unknown Object (File)
Thu, Jul 2, 12:01 PM
Unknown Object (File)
Sat, Jun 27, 1:26 PM
Unknown Object (File)
Thu, Jun 18, 5:27 AM
Unknown Object (File)
Mon, Jun 8, 7:56 AM
Unknown Object (File)
Sat, Jun 6, 4:32 PM
Unknown Object (File)
Jun 4 2026, 7:11 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 72922
Build 69805: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Jan 6 2026, 12:35 AM
emaste added inline comments.
release/Makefile
175–180

recommend reformatting this first in a separate commit so that the additions/deletions are clear

This revision is now accepted and ready to land.Mar 25 2026, 5:57 PM
This revision now requires review to proceed.May 8 2026, 9:29 AM
This revision is now accepted and ready to land.May 8 2026, 2:56 PM