Module Name: src
Committed By: christos
Date: Thu Apr 3 22:51:38 UTC 2014
Modified Files:
src/distrib/utils/embedded: mkimage
Log Message:
now that fdisk has optional arguments, don't pass -1
To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 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.47 src/distrib/utils/embedded/mkimage:1.48
--- src/distrib/utils/embedded/mkimage:1.47 Mon Mar 31 14:18:29 2014
+++ src/distrib/utils/embedded/mkimage Thu Apr 3 18:51:38 2014
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkimage,v 1.47 2014/03/31 18:18:29 christos Exp $
+# $NetBSD: mkimage,v 1.48 2014/04/03 22:51:38 christos Exp $
#
# Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -202,7 +202,7 @@ if [ -n "${msdosid}" ]; then
elif [ -n "${netbsdid}" ]; then
echo ${bar} Running fdisk ${bar}
${FDISK} -f -i ${image}
- ${FDISK} -f -a -u -0 -s 169/-1/-1/ ${image}
+ ${FDISK} -f -a -u -0 -s 169 ${image}
${INSTALLBOOT} -f -v ${image} ${release}/usr/mdec/bootxx_ffsv1
fi