Page MenuHomeFreeBSD

pkgbase: update-packages: split out an sign-update-packages target
Needs ReviewPublic

Authored by kevans on Jan 26 2021, 6:36 PM.
Referenced Files
Unknown Object (File)
Sun, Oct 12, 2:26 AM
Unknown Object (File)
Thu, Oct 9, 6:07 AM
Unknown Object (File)
Sep 3 2025, 7:43 PM
Unknown Object (File)
Aug 22 2025, 10:24 PM
Unknown Object (File)
Jul 10 2025, 7:13 PM
Unknown Object (File)
Jul 8 2025, 1:10 PM
Unknown Object (File)
May 29 2025, 12:51 PM
Unknown Object (File)
May 19 2025, 11:29 PM
Subscribers

Details

Reviewers
None
Group Reviewers
pkgbase
Summary

PKG_ABI is not usable until after WSTAGEDIR has been populated in
stage-packages, therefore we cannot use the value that's picked up in
real-update-packages as it will be out-of-date or the stagedir will not be
populated yet since the pkg config invocation is evaluated before any of
this has run.

Split sign-update-packages out to a separate target that we will invoke
after stage-packages. create-packages drops down to a dependency of the
real-update-packages target to be consistent with real-packages, then we
reinvoke in a sub-make so that sign-update-packages can collect any needed
information strictly after it becomes available.

The compromise here is that a missing 'latest' symlink will now be viewed
as a repository needing bootstrapped, but this is not a destructive process;
I consider it harmless.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 36515
Build 33404: arc lint + arc unit