Module Name: src
Committed By: snj
Date: Fri May 12 05:12:59 UTC 2017
Modified Files:
src/distrib/utils/embedded [netbsd-7]: mkimage
Log Message:
Pull up following revision(s) (requested by sevan in ticket #1386):
distrib/utils/embedded/mkimage: revision 1.62
Mark the msdos parition active for boards like the BeagleBone Black
To generate a diff of this commit:
cvs rdiff -u -r1.48.4.6 -r1.48.4.7 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.48.4.6 src/distrib/utils/embedded/mkimage:1.48.4.7
--- src/distrib/utils/embedded/mkimage:1.48.4.6 Thu Aug 6 21:13:43 2015
+++ src/distrib/utils/embedded/mkimage Fri May 12 05:12:58 2017
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkimage,v 1.48.4.6 2015/08/06 21:13:43 snj Exp $
+# $NetBSD: mkimage,v 1.48.4.7 2017/05/12 05:12:58 snj Exp $
#
# Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -218,7 +218,7 @@ if [ -n "${msdosid}" ]; then
echo ${bar} Running fdisk ${bar}
initsecs=$((${init} * 1024))
bootsecs=$((${boot} * 1024))
- ${FDISK} -f -u -0 -s ${msdosid}/${initsecs}/${bootsecs} -F ${image}
+ ${FDISK} -f -a -u -0 -s ${msdosid}/${initsecs}/${bootsecs} -F ${image}
elif [ -n "${netbsdid}" ]; then
echo ${bar} Running fdisk ${bar}
${FDISK} -f -i ${image}