We need to copy the ports config files before we launch the prefetch
This commit is contained in:
parent
b1f9b9965b
commit
9f5b45662f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=212173
@ -410,6 +410,9 @@ if [ "x${REMOTEDISTFILES}" != "x" ] ; then
|
||||
mount ${REMOTEDISTFILES} /freebsd/distfiles
|
||||
fi
|
||||
|
||||
log_it copy ports config files
|
||||
(cd / ; find var/db/ports -print | cpio -dumpv /mnt )
|
||||
|
||||
log_it "Start prefetch of ports distfiles"
|
||||
ports_prefetch &
|
||||
|
||||
@ -483,9 +486,6 @@ if [ -f /etc/localtime ] ; then
|
||||
cp /etc/localtime /mnt/etc
|
||||
fi
|
||||
|
||||
log_it copy ports config files
|
||||
(cd / ; find var/db/ports -print | cpio -dumpv /mnt )
|
||||
|
||||
log_it ldconfig in chroot
|
||||
chroot /mnt sh /etc/rc.d/ldconfig start
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user