diff options
author | Bryan Drewery <bryan@shatow.net> | 2019-09-18 02:27:26 +0300 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2019-09-18 02:46:20 +0300 |
commit | 2a20e6cf649ef2415b4351203c26709df16261ed (patch) | |
tree | 2c73572c1a7c6bffb1c4c322f01f90a7c7197586 /src | |
parent | b29131f91a00f85884f767326dda810f8a447294 (diff) |
jail -c: Fix NO_LIB32 support
Diffstat (limited to 'src')
-rwxr-xr-x | src/share/poudriere/jail.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/share/poudriere/jail.sh b/src/share/poudriere/jail.sh index 5ee13c17..24d5eaac 100755 --- a/src/share/poudriere/jail.sh +++ b/src/share/poudriere/jail.sh @@ -730,7 +730,8 @@ install_from_ftp() { fetch_file ${JAILMNT}/fromftp/MANIFEST ${URL}/MANIFEST fi - DISTS="${DISTS} lib32" + [ "${NO_LIB32:-no}" = "no" ] && + DISTS="${DISTS} lib32" [ -n "${KERNEL}" ] && DISTS="${DISTS} kernel" [ -s "${JAILMNT}/fromftp/MANIFEST" ] || err 1 "Empty MANIFEST file." for dist in ${DISTS}; do |