From owner-svn-ports-all@FreeBSD.ORG Mon Dec 16 02:36:24 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 45212997; Mon, 16 Dec 2013 02:36:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 31391177A; Mon, 16 Dec 2013 02:36:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBG2aOP0009485; Mon, 16 Dec 2013 02:36:24 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBG2aNMP009483; Mon, 16 Dec 2013 02:36:23 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201312160236.rBG2aNMP009483@svn.freebsd.org> From: Colin Percival Date: Mon, 16 Dec 2013 02:36:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r336602 - in head/sysutils/firstboot-pkgs: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Dec 2013 02:36:24 -0000 Author: cperciva Date: Mon Dec 16 02:36:23 2013 New Revision: 336602 URL: http://svnweb.freebsd.org/changeset/ports/336602 Log: pkg uses "is stdin a terminal?" to decide if it's running interactively and thereby whether it should display a progress bar during downloads. While rc.d scripts have a terminal attached, for the common case of unattended installation of servers, this script is not being used interactively; so redirect stdin from /dev/null to silence the progress bars and reduce console spew. The -q option could be used to accomplish this, but that would also eliminate other more useful information, such as the names and versions of packages being installed. Modified: head/sysutils/firstboot-pkgs/Makefile head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Modified: head/sysutils/firstboot-pkgs/Makefile ============================================================================== --- head/sysutils/firstboot-pkgs/Makefile Mon Dec 16 01:59:25 2013 (r336601) +++ head/sysutils/firstboot-pkgs/Makefile Mon Dec 16 02:36:23 2013 (r336602) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= firstboot-pkgs -PORTVERSION= 1.2 +PORTVERSION= 1.3 CATEGORIES= sysutils MASTER_SITES= # none DISTFILES= # none Modified: head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in ============================================================================== --- head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Mon Dec 16 01:59:25 2013 (r336601) +++ head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Mon Dec 16 02:36:23 2013 (r336602) @@ -37,7 +37,7 @@ firstboot_pkgs_run() # Install requested packages, if any if ! [ -z "$firstboot_pkgs_list" ]; then - env ASSUME_ALWAYS_YES=YES pkg install $firstboot_pkgs_list + env ASSUME_ALWAYS_YES=YES pkg install $firstboot_pkgs_list