Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/utils/embedded mass -N db to makefs too
details: https://anonhg.NetBSD.org/src/rev/d7b04af879f4
branches: trunk
changeset: 784813:d7b04af879f4
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 10 15:51:59 2013 +0000
description:
mass -N db to makefs too
diffstat:
distrib/utils/embedded/mkimage | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 9c38ef5b3ffa -r d7b04af879f4 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage Sun Feb 10 15:45:33 2013 +0000
+++ b/distrib/utils/embedded/mkimage Sun Feb 10 15:51:59 2013 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkimage,v 1.26 2013/02/10 15:45:33 christos Exp $
+# $NetBSD: mkimage,v 1.27 2013/02/10 15:51:59 christos Exp $
#
# Copyright (c) 2013 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -138,12 +138,13 @@
${MTREE} -N ${release}/etc -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 \
- ${image} ${mnt}/boot
+ ${MAKEFS} -N ${release}/etc -t msdos \
+ -O $((${init} / 2))m -s $((${boot} / 2))m ${image} ${mnt}/boot
fi
echo ${bar} Populating ffs filesystem ${bar}
-${MAKEFS} -t ffs -rx -O $(((${init} + ${boot} + ${swap}) / 2))m \
+${MAKEFS} -N ${release}/etc -t ffs -rx \
+ -O $(((${init} + ${boot} + ${swap}) / 2))m \
-F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
if [ "${size}" = 0 ]; then
Home |
Main Index |
Thread Index |
Old Index