Page MenuHomeFreeBSD

GCE: Add /usr/src and /usr/ports to METALOG
ClosedPublic

Authored by cperciva on Tue, Nov 18, 1:09 AM.
Tags
None
Referenced Files
F136682152: D53796.id.diff
Tue, Nov 18, 9:21 PM
F136653691: D53796.id166638.diff
Tue, Nov 18, 6:30 PM
F136636529: D53796.diff
Tue, Nov 18, 4:42 PM
F136625175: D53796.id166636.diff
Tue, Nov 18, 3:30 PM
F136624971: D53796.id166640.diff
Tue, Nov 18, 3:28 PM
F136616798: D53796.id166636.diff
Tue, Nov 18, 2:41 PM
F136610201: D53796.id166640.diff
Tue, Nov 18, 2:01 PM
F136609975: D53796.id166638.diff
Tue, Nov 18, 1:59 PM

Details

Summary

We ship these in order to comply with GCE Marketplace rules about
providing source code and licenses for all the software we ship as
part of images.

MFC after: immediately (15.0-RC2)

Diff Detail

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

Event Timeline

markj added a subscriber: markj.

This won't preserve symlinks. That probably won't hurt too much.

Rather than looping like this, I think you can instead run something like mtree -c -p ./usr/src | mtree -C -k uname,gname,type,mode >> ${DESTDIR}/METALOG. I think you'd still need a way to override the uname/gname for non-root builds, though, and I don't see an existing mechanism in mtree(8) to do that, so ok.

release/tools/gce.conf
104

Indentation here is wonky.

118

Same here.

This revision is now accepted and ready to land.Tue, Nov 18, 1:48 AM
This revision now requires review to proceed.Tue, Nov 18, 1:50 AM
release/tools/gce.conf
104

Better now?

release/tools/gce.conf
104

Looks ok now, yes.

This revision is now accepted and ready to land.Tue, Nov 18, 2:01 AM