Page MenuHomeFreeBSD

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

Authored by kevans on Jan 26 2021, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 25 2023, 2:11 AM
Unknown Object (File)
Dec 4 2023, 12:50 AM
Unknown Object (File)
Nov 18 2023, 9:55 AM
Unknown Object (File)
Nov 9 2023, 11:26 PM
Unknown Object (File)
Nov 7 2023, 4:16 AM
Unknown Object (File)
Oct 8 2023, 10:20 PM
Unknown Object (File)
Oct 6 2023, 3:11 AM
Unknown Object (File)
Sep 30 2023, 7:10 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