From 742ff3a0c9cb20f76fc9777dca57212f8c792aa7 Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Wed, 17 Jan 2018 13:12:17 +0100 Subject: [PATCH] make-automaps: Search for local packages in /usr/local/pkg/ 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. --- make-automaps/make-automaps | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make-automaps/make-automaps b/make-automaps/make-automaps index 8553a7d..ac88524 100755 --- a/make-automaps/make-automaps +++ b/make-automaps/make-automaps @@ -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";