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)
Differential D53796
GCE: Add /usr/src and /usr/ports to METALOG Authored by cperciva on Tue, Nov 18, 1:09 AM. Tags None Referenced Files
Details We ship these in order to comply with GCE Marketplace rules about MFC after: immediately (15.0-RC2)
Diff Detail
Event TimelineComment Actions 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.
| |||||||||||||||||||||||||||||||||||||||||||||||||