Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded dont call mtree directly
details: https://anonhg.NetBSD.org/src/rev/bda907c71523
branches: trunk
changeset: 784811:bda907c71523
user: jmcneill <jmcneill%NetBSD.org@localhost>
date: Sun Feb 10 15:35:34 2013 +0000
description:
dont call mtree directly
diffstat:
distrib/utils/embedded/mkimage | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r 77aae8832a6f -r bda907c71523 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage Sun Feb 10 14:54:33 2013 +0000
+++ b/distrib/utils/embedded/mkimage Sun Feb 10 15:35:34 2013 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkimage,v 1.24 2013/02/10 03:09:07 christos Exp $
+# $NetBSD: mkimage,v 1.25 2013/02/10 15:35:34 jmcneill Exp $
#
# Copyright (c) 2013 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -38,6 +38,7 @@
DISKLABEL=${TOOL_DISKLABEL:-disklabel}
FDISK=${TOOL_FDISK:-fdisk}
MAKEFS=${TOOL_MAKEFS:-makefs}
+MTREE=${TOOL_MTREE:-mtree}
src="/usr/src"
release="/usr/obj/evbarm/release"
@@ -133,7 +134,7 @@
customize
populate
-(cd ${mnt}; mtree -c -k all | mtree -C -k all) >> "$tmp/selected_sets"
+(cd ${mnt}; ${MTREE} -c -k all | ${MTREE} -C -k all) >> "$tmp/selected_sets"
if [ -n ${msdosid} ]; then
echo ${bar} Populating msdos filesystem ${bar}
${MAKEFS} -t msdos -O $((${init} / 2))m -s $((${boot} / 2))m \
Home |
Main Index |
Thread Index |
Old Index