Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded add extra space to root partition



details:   https://anonhg.NetBSD.org/src/rev/3defccb62da4
branches:  trunk
changeset: 784866:3defccb62da4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Feb 12 12:45:12 2013 +0000

description:
add extra space to root partition

diffstat:

 distrib/utils/embedded/mkimage |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 49d6222c0d40 -r 3defccb62da4 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage    Tue Feb 12 12:04:39 2013 +0000
+++ b/distrib/utils/embedded/mkimage    Tue Feb 12 12:45:12 2013 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh
-# $NetBSD: mkimage,v 1.33 2013/02/11 18:11:20 jmcneill Exp $
+# $NetBSD: mkimage,v 1.34 2013/02/12 12:45:12 jmcneill Exp $
 #
 # Copyright (c) 2013 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -148,6 +148,7 @@
 echo ${bar} Populating ffs filesystem ${bar}
 ${MAKEFS} -N ${release}/etc -t ffs -rx \
     -O $(((${init} + ${boot} + ${swap}) / 2))m \
+    -b $((${extra} / 2))m \
     -F "$tmp/selected_sets" ${image} "${release}" "${mnt}"
 
 if [ "${size}" = 0 ]; then



Home | Main Index | Thread Index | Old Index