MASTER_SITE_OVERRIDE
Alexander Logvinov
freebsd at akavia.ru
Wed Mar 28 22:14:28 EDT 2007
Hello!
>> MASTER_SITE_OVERRIDE=http://host/distfiles/$(DIST_SUBDIR)/" line
>> helps, but it doesn't recognize $(DIST_SUBDIR) of course. Is there any
>> way of doing this without creating /etc/make.conf?
> Tried using http://host/distfiles/%SUBDIR%/ ? Just a wild guess.
It does not help, but I'm using this patch with ${pb}/jails/${jail}/make.conf now.
--- mkbuild.orig Tue Feb 27 13:58:54 2007
+++ mkbuild Thu Mar 29 09:30:59 2007
@@ -79,4 +79,8 @@
tar -C ${D} -xf ${pb}/jails/${jail}/${jail}.tar
# Finalize environment
-cp -f /etc/resolv.conf ${D}/etc
+for _file in /etc/resolv.conf ${pb}/jails/${jail}/make.conf; do
+ if [ -f ${_file} ]; then
+ cp -f ${_file} ${D}/etc
+ fi
+done
It works fine. But I'm not sure if this way is right or not. :)
> BTW if host is locally accesible, why not just using the distcache
> feature?
I use it, but I have another machine with big collection of distfiles and only port 80 is opened. :)
--
WBR
More information about the tinderbox-list
mailing list