svn commit: r368591 - in head/sysutils/firstboot-pkgs: . files
Colin Percival
cperciva at FreeBSD.org
Fri Sep 19 19:02:34 UTC 2014
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 </dev/null
+ env ASSUME_ALWAYS_YES=YES pkg install $firstboot_pkgs_list </dev/null |
+ cat
fi
# Count rc.d scripts again
More information about the svn-ports-head
mailing list