From owner-svn-ports-head@FreeBSD.ORG Fri Sep 19 19:02:34 2014 Return-Path: Delivered-To: svn-ports-head@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 9B4289A1; Fri, 19 Sep 2014 19:02:34 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 860ACCCF; Fri, 19 Sep 2014 19:02:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8JJ2YBP084247; Fri, 19 Sep 2014 19:02:34 GMT (envelope-from cperciva@FreeBSD.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8JJ2Ye7084245; Fri, 19 Sep 2014 19:02:34 GMT (envelope-from cperciva@FreeBSD.org) Message-Id: <201409191902.s8JJ2Ye7084245@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: cperciva set sender to cperciva@FreeBSD.org using -f From: Colin Percival Date: Fri, 19 Sep 2014 19:02:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368591 - 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-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2014 19:02:34 -0000 Author: cperciva Date: Fri Sep 19 19:02:33 2014 New Revision: 368591 URL: http://svnweb.freebsd.org/changeset/ports/368591 QAT: https://qat.redports.org/buildarchive/r368591/ Log: Nominate myself for the useful-use-of-cat award. pkg detects if its stdout is a terminal and prints many 'done%' lines, which are useful for interactive use on modern terminals, but not so useful on a serial console; piping through cat silences these. 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 Fri Sep 19 18:47:56 2014 (r368590) +++ head/sysutils/firstboot-pkgs/Makefile Fri Sep 19 19:02:33 2014 (r368591) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= firstboot-pkgs -PORTVERSION= 1.3 +PORTVERSION= 1.4 CATEGORIES= sysutils MASTER_SITES= # none DISTFILES= # none Modified: head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in ============================================================================== --- head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Fri Sep 19 18:47:56 2014 (r368590) +++ head/sysutils/firstboot-pkgs/files/firstboot_pkgs.in Fri Sep 19 19:02:33 2014 (r368591) @@ -32,12 +32,14 @@ firstboot_pkgs_run() # Bootstrap if necessary if ! pkg -N 2>/dev/null; then - env ASSUME_ALWAYS_YES=YES pkg bootstrap + env ASSUME_ALWAYS_YES=YES pkg bootstrap | + cat fi # Install requested packages, if any if ! [ -z "$firstboot_pkgs_list" ]; then - env ASSUME_ALWAYS_YES=YES pkg install $firstboot_pkgs_list