Page MenuHomeFreeBSD

release: Don't try to fetch distfiles for pkgbase
ClosedPublic

Authored by cperciva on Mon, Nov 3, 9:46 PM.
Tags
None
Referenced Files
F134748728: D53568.diff
Tue, Nov 4, 9:04 AM
F134739950: D53568.diff
Tue, Nov 4, 7:34 AM
F134733700: D53568.diff
Tue, Nov 4, 6:31 AM
F134712990: D53568.id.diff
Tue, Nov 4, 3:24 AM
F134710281: D53568.id165770.diff
Tue, Nov 4, 3:03 AM
F134710152: D53568.id165779.diff
Tue, Nov 4, 3:02 AM
F134708458: D53568.id165779.diff
Tue, Nov 4, 2:48 AM
F134701755: D53568.diff
Tue, Nov 4, 1:53 AM
Subscribers

Details

Summary

In order to comply with the require that GCE images must include their
source code, we fetch distfiles for all of the packages installed into
GCE images. This fails for obvious reasons for packages with an origin
of base/*; filter those out to generate the list to fetch.

MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ivy added inline comments.
release/tools/gce.conf
103

you could use this instead: pkg query -e '%o !~ base/*' '%o'. i think it's a bit neater to use pkg's built-in functionality, but i don't feel very strongly about it.

This revision is now accepted and ready to land.Tue, Nov 4, 12:21 AM
release/tools/gce.conf
103

I agree it's neater, but I wanted something which was obviously right rather than needing a man page to be consulted. ;-)

This will all need to be rewritten for 16 anyway since we're not going to have dist sets.