Hello,
So, I have attempted to create a port - see this thread. Next step was to setup Poudriere to manage the port locally.
Basically I have used Vermadens guide on this link with a few small changes (thanks vermaden) and inspiration from threads in this Forum.
Poudriere is fun. It does what a build server should do and is simple enough for a first time porter to understand it. When I add a file in /usr/local/etc/pkg/repos pointing to http://localhost/packages/myportsrepo I can see my port with pkg search and my repo with pkg stats.
For me it is horrendously slow though. I have probably not configured it correctly.
I have set "latest" in /etc/pkg/FreeBSD.conf and I have installed ccache and memcache from ports.
Here's my poudriere.conf
I can feel that there is a complexity that comes with building a port that is dependant on moving targets in the ports tree.
But - is there any way to make Poudriere fetch more packages to speed up the build?
/grandpa
So, I have attempted to create a port - see this thread. Next step was to setup Poudriere to manage the port locally.
Basically I have used Vermadens guide on this link with a few small changes (thanks vermaden) and inspiration from threads in this Forum.
Poudriere is fun. It does what a build server should do and is simple enough for a first time porter to understand it. When I add a file in /usr/local/etc/pkg/repos pointing to http://localhost/packages/myportsrepo I can see my port with pkg search and my repo with pkg stats.
For me it is horrendously slow though. I have probably not configured it correctly.
I have set "latest" in /etc/pkg/FreeBSD.conf and I have installed ccache and memcache from ports.
Here's my poudriere.conf
Code:
ZPOOL=zroot14
FREEBSD_HOST=https://download.FreeBSD.org
RESOLV_CONF=/etc/resolv.conf
BASEFS=/usr/local/poudriere
USE_PORTLINT=no
USE_TMPFS=yes
DISTFILES_CACHE=/usr/ports/distfiles
CHECK_CHANGED_OPTIONS=verbose
CHECK_CHANGED_DEPS=yes
CCACHE_DIR=/var/ccache/
PARALLEL_JOBS=4
KEEP_OLD_PACKAGES=yes
KEEP_OLD_PACKAGES_COUNT=3
BUILD_AS_NON_ROOT=no
ALLOW_MAKE_JOBS=yes
ALLOW_MAKE_JOBS_PACKAGES="pkg ccache py*"
PACKAGE_FETCH_BRANCH=latest
PACKAGE_FETCH_URL=pkg+http://pkg.FreeBSD.org/\${ABI}
PACKAGE_FETCH_BLACKLIST=""
PKG_NO_VERSION_FOR_DEPS=yes
I can feel that there is a complexity that comes with building a port that is dependant on moving targets in the ports tree.
But - is there any way to make Poudriere fetch more packages to speed up the build?
/grandpa