Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/embedded Mark the msdos parition active for bo...



details:   https://anonhg.NetBSD.org/src/rev/d689ad344229
branches:  trunk
changeset: 352069:d689ad344229
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Mar 14 06:37:39 2017 +0000

description:
Mark the msdos parition active for boards like the BeagleBone Black

diffstat:

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

diffs (19 lines):

diff -r a0fc703325c7 -r d689ad344229 distrib/utils/embedded/mkimage
--- a/distrib/utils/embedded/mkimage    Tue Mar 14 04:25:10 2017 +0000
+++ b/distrib/utils/embedded/mkimage    Tue Mar 14 06:37:39 2017 +0000
@@ -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 @@
        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}



Home | Main Index | Thread Index | Old Index