Skip to content

Commit

Permalink
Create a valid /wrkdirs directory in the jail we will use to build po…
Browse files Browse the repository at this point in the history
…rts.

Add this to /etc/make.conf in the jail.

This logic is taken from jail.sh in poudriere.  poudriere needs
this stuff set up properly before it can build ports.
  • Loading branch information
Craig Rodrigues committed Apr 15, 2014
1 parent c1e2973 commit 708c9c7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/ports/prepare-jail.sh
Expand Up @@ -20,3 +20,11 @@ echo "${NANO_OBJ}/_.w" > ${NANO_OBJ}/poudriere/etc/poudriere.d/jails/${JAIL}/mnt
echo "git" > ${NANO_OBJ}/poudriere/etc/poudriere.d/jails/${JAIL}/method
echo "${FREEBSD_RELEASE_VERSION}" > ${NANO_OBJ}/poudriere/etc/poudriere.d/jails/${JAIL}/version
echo "${NANO_ARCH}" > ${NANO_OBJ}/poudriere/etc/poudriere.d/jails/${JAIL}/arch

mkdir -p ${NANO_OBJ}/_.w/wrkdirs

cat >> ${NANO_OBJ}/_.w/etc/make.conf << EOF
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
EOF

0 comments on commit 708c9c7

Please sign in to comment.