Remove some more hard-coding.
This commit is contained in:
parent
f2f5d94fa0
commit
7c33e1c75f
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=34899
1 changed files with 7 additions and 3 deletions
|
@ -1543,12 +1543,16 @@ www/squid (with SQUID_AUFS on)</screen>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>Create
|
<para>Create
|
||||||
<filename>usr/local/etc/rc.d/portbuild.sh</filename>:<screen>
|
<filename>usr/local/etc/rc.d/portbuild.sh</filename>,
|
||||||
|
using the appropriate value for
|
||||||
|
<literal>scratchdir</literal>:<screen>
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#
|
#
|
||||||
# Configure the system post-boot
|
# Configure a package build system post-boot
|
||||||
|
|
||||||
ln -sf /usr2/portbuild /var/portbuild
|
scratchdir=/usr2
|
||||||
|
|
||||||
|
ln -sf ${scratchdir}/portbuild /var/portbuild
|
||||||
|
|
||||||
# Identify builds ready for use
|
# Identify builds ready for use
|
||||||
cd /var/portbuild/${arch}
|
cd /var/portbuild/${arch}
|
||||||
|
|
Loading…
Reference in a new issue