diff options
author | Renato Botelho <renato@netgate.com> | 2017-04-18 09:56:47 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-04-18 09:58:13 -0300 |
commit | 5f7c49a4ab8bc59194aef550eb5bdf776815e578 (patch) | |
tree | 0bf04d56b68aa615d4eb84a5f8fd9c193ea6b766 /tools | |
parent | 71e8fe30a48fb50567ed709bf4c972b797fa9b72 (diff) | |
download | pfsense-5f7c49a4ab8bc59194aef550eb5bdf776815e578.zip pfsense-5f7c49a4ab8bc59194aef550eb5bdf776815e578.tar.gz |
Use pkg binary from target system and not from host
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builder_common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 08e1cc0..58cc241 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -1063,7 +1063,7 @@ pkg_chroot() { _params="--repo-conf-dir /tmp/pkg-repos " fi script -aq ${BUILDER_LOGS}/install_pkg_install_ports.txt \ - pkg -c ${_root} ${_params}$@ >/dev/null 2>&1 + chroot ${_root} pkg ${_params}$@ >/dev/null 2>&1 local result=$? rm -f ${_root}/etc/resolv.conf /sbin/umount -f ${_root}/dev |