Module Name: src
Committed By: jmcneill
Date: Tue Feb 12 12:45:13 UTC 2013
Modified Files:
src/distrib/utils/embedded: mkimage
Log Message:
add extra space to root partition
To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/distrib/utils/embedded/mkimage
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/mkimage
diff -u src/distrib/utils/embedded/mkimage:1.33 src/distrib/utils/embedded/mkimage:1.34
--- src/distrib/utils/embedded/mkimage:1.33 Mon Feb 11 18:11:20 2013
+++ src/distrib/utils/embedded/mkimage Tue Feb 12 12:45:12 2013
@@ -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 @@ fi
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