From 55514b4a30b542ead583e9558240abb8a4304ae0 Mon Sep 17 00:00:00 2001 From: rlfnb Date: Tue, 8 Sep 2015 13:02:25 +0200 Subject: [PATCH] starting to make the minix_x86.img bootable --- releasetools/x86_hdimage.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/releasetools/x86_hdimage.sh b/releasetools/x86_hdimage.sh index c15e712b2..f421dca0d 100755 --- a/releasetools/x86_hdimage.sh +++ b/releasetools/x86_hdimage.sh @@ -190,7 +190,9 @@ _HOME_SIZE=$((`${CROSS_TOOLS}/nbmkfs.mfs -d ${HOMESIZEARG} -I $((${HOME_START}*5 # minix partition utility # ${CROSS_TOOLS}/nbpartition -m ${IMG} 0 81:${ISO_SIZE} \ - 81:${_ROOT_SIZE} 81:${_USR_SIZE} 81:${_HOME_SIZE} + 81:${_ROOT_SIZE}* 81:${_USR_SIZE} 81:${_HOME_SIZE} + ++dd if=${DESTDIR}/usr/mdec/mbr of=${IMG} conv=notrunc bs=446 count=1 mods="`( cd ${MODDIR}; echo mod* | tr ' ' ',' )`" if [ "x${ISOMODE}" = "x1" ]