Commit a577a895 authored by Leigh B Stoller's avatar Leigh B Stoller

Install the ports tree on ops too.

parent c94cbb7c
......@@ -60,6 +60,18 @@ sub Install($$$)
DeleteFileFatal($RCLOCAL);
};
#
# Also grab the port source while close to the server.
#
Phase "portsrc", "Getting port source tarball", sub {
DoneIfExists("$PREFIX/ports.tar.gz");
FetchFileFatal($PORTSRC, "$PREFIX/ports.tar.gz");
};
Phase "ports", "Unpacking port source tarball", sub {
DoneIfExists("$PREFIX/ports/Mk");
ExecQuietFatal("cd $PREFIX; $TAR zxf $PREFIX/ports.tar.gz");
};
Phase "rcconf", "Updating rcconf for actual boot", sub {
my @strings = ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment