Date: Sun, 24 Sep 2017 14:22:37 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323971 - head/tools/tools/nanobsd Message-ID: <201709241422.v8OEMbXZ074943@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Sun Sep 24 14:22:36 2017 New Revision: 323971 URL: https://svnweb.freebsd.org/changeset/base/323971 Log: Fix packages with interactive post install scripts. Tell pkg(8) we're running non-interactively so packages that with interactive post install scripts don't hang. Submitted by: Guido van Rooij Modified: head/tools/tools/nanobsd/defaults.sh Modified: head/tools/tools/nanobsd/defaults.sh ============================================================================== --- head/tools/tools/nanobsd/defaults.sh Sun Sep 24 13:28:24 2017 (r323970) +++ head/tools/tools/nanobsd/defaults.sh Sun Sep 24 14:22:36 2017 (r323971) @@ -749,7 +749,7 @@ cust_install_files ( ) ( cust_pkgng ( ) ( mkdir -p ${NANO_WORLDDIR}/usr/local/etc local PKG_CONF="${NANO_WORLDDIR}/usr/local/etc/pkg.conf" - local PKGCMD="env ASSUME_ALWAYS_YES=YES PKG_DBDIR=${NANO_PKG_META_BASE}/pkg SIGNATURE_TYPE=none /usr/sbin/pkg" + local PKGCMD="env BATCH=YES ASSUME_ALWAYS_YES=YES PKG_DBDIR=${NANO_PKG_META_BASE}/pkg SIGNATURE_TYPE=none /usr/sbin/pkg" # Ensure pkg.conf points pkg to where the package meta data lives. touch ${PKG_CONF}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709241422.v8OEMbXZ074943>