Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/sys_info add dtc (Device Tree Compiler) version info
details: https://anonhg.NetBSD.org/src/rev/ef121a9c041f
branches: trunk
changeset: 356209:ef121a9c041f
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sat Sep 09 14:12:09 2017 +0000
description:
add dtc (Device Tree Compiler) version info
diffstat:
usr.bin/sys_info/sys_info.sh | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r eb730f756bbc -r ef121a9c041f usr.bin/sys_info/sys_info.sh
--- a/usr.bin/sys_info/sys_info.sh Sat Sep 09 13:14:30 2017 +0000
+++ b/usr.bin/sys_info/sys_info.sh Sat Sep 09 14:12:09 2017 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
-# $NetBSD: sys_info.sh,v 1.13 2017/08/27 20:40:22 wiz Exp $
+# $NetBSD: sys_info.sh,v 1.14 2017/09/09 14:12:09 jmcneill Exp $
# Copyright (c) 2016 Alistair Crooks <agc%NetBSD.org@localhost>
# All rights reserved.
@@ -26,7 +26,7 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-SYS_INFO_VERSION=20170824
+SYS_INFO_VERSION=20170909
PATH=$(sysctl -n user.cs_path)
export PATH
@@ -133,6 +133,9 @@
dhcpcd)
run "dhcpcd --version | sed -e 's/ /-/g' -e 1q"
$all || return 0 ;&
+ dtc)
+ run "dtc --version | sed 's/Version: DTC /dtc-/'"
+ $all || return 0 ;&
ftpd)
run "strings -a /usr/libexec/ftpd | awk '\$1 == \"NetBSD-ftpd\" { print \"ftpd-\" \$2 }'"
$all || return 0 ;&
Home |
Main Index |
Thread Index |
Old Index