Page MenuHomeFreeBSD

release: Prepare GCE cloudware images for building as non-root
ClosedPublic

Authored by markj on Tue, Sep 9, 2:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 25, 9:38 PM
Unknown Object (File)
Thu, Sep 25, 5:38 PM
Unknown Object (File)
Wed, Sep 24, 8:34 PM
Unknown Object (File)
Tue, Sep 23, 6:36 PM
Unknown Object (File)
Tue, Sep 23, 4:06 PM
Unknown Object (File)
Mon, Sep 22, 5:30 AM
Unknown Object (File)
Mon, Sep 22, 12:26 AM
Unknown Object (File)
Sun, Sep 21, 3:59 PM

Details

Summary
  • Avoid mounting devfs just to list packages and fetch distfiles.
  • Add metalog entries.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 67050
Build 63933: arc lint + arc unit

Event Timeline

markj requested review of this revision.Tue, Sep 9, 2:54 PM
cperciva added inline comments.
release/tools/gce.conf
99

s/ports/src/

105–107

Probably want to set DISTDIR=${DESTDIR}/usr/ports/distfiles here just in case there's environmental pollution which would send the distfiles into the wrong place.

release/tools/gce.conf
98

Actually thinking about this a bit more -- the src.txz and ports.txz tarballs will go away at some point with pkgbase. Can we copy the trees directly rather than going through those? (Obviously we have a src tree at this point; I'm not immediately sure if we're guaranteed to have a ports tree mounted when this code runs but that's probably easily achievable.)

release/tools/gce.conf
98

I think it's reasonable to do that, but separately from this change. But, is the change here just fxJ to -xfJ?

release/tools/gce.conf
98

Yeah I have no problem with that change happening later. Just thought about it while looking at these bits.

emaste requested changes to this revision.Mon, Sep 15, 2:03 PM

Recording "request changes" for @cperciva's comment

This revision now requires changes to proceed.Mon, Sep 15, 2:03 PM

Remove an inadvertent change to a tar invocation.

markj marked 3 inline comments as done.

Set DISTDIR when fetching ports distfiles.

This revision is now accepted and ready to land.Mon, Sep 15, 9:00 PM