Skip to content

Commit

Permalink
make-automaps: Search for local packages in /usr/local/pkg/
Browse files Browse the repository at this point in the history
Originally we wanted to implement some smart caching mechanism
which copies /pkg packages to local disks dedicated via /amd/$hostname/P
link.

To get things going, we now instead use /usr/local/pkg which is pushed
around by the distmaster.
  • Loading branch information
donald committed Jan 17, 2018
1 parent c6d1964 commit 742ff3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion make-automaps/make-automaps
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ sub create_pkg_map {
s/#.*//;
/\S/ or next;
my ($pkg,$flags)=split ' ';
my $local="/amd/$hostname/P/pkg/$pkg";
my $local="/usr/local/pkg/$pkg";
my $rw = $flags eq 'BUILD' ? ' -rw' : '';
if (-d $local) {
print $out "$pkg$rw :$local\n";
Expand Down

0 comments on commit 742ff3a

Please sign in to comment.