Module Name: src
Committed By: skrll
Date: Tue Mar 14 06:37:39 UTC 2017
Modified Files:
src/distrib/utils/embedded: mkimage
Log Message:
Mark the msdos parition active for boards like the BeagleBone Black
To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 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.61 src/distrib/utils/embedded/mkimage:1.62
--- src/distrib/utils/embedded/mkimage:1.61 Sat Aug 1 10:05:51 2015
+++ src/distrib/utils/embedded/mkimage Tue Mar 14 06:37:39 2017
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkimage,v 1.61 2015/08/01 10:05:51 jmcneill Exp $
+# $NetBSD: mkimage,v 1.62 2017/03/14 06:37:39 skrll Exp $
#
# Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -220,7 +220,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}