mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
0d088a094b
/var/portbuild is the new designated home of the portbuild setup, and is expected to be a symlink to wherever you choose to put the stuff. Also, change reportload to use /var/portbuild to store temporary files. Seems there are some bugs in the null mount code that make the files inaccessible if you are using an NFS root.
15 lines
188 B
Bash
Executable File
15 lines
188 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$1" != "start" ]; then exit; fi
|
|
|
|
pb=/var/portbuild
|
|
s=$pb/scripts/reportload
|
|
|
|
echo -n ' chroot'
|
|
rm -rf $pb/*/chroot/*
|
|
|
|
if [ -x $s ]; then
|
|
$s &
|
|
echo -n ' reportload'
|
|
fi
|