From: David van Moolenbroek Date: Sat, 14 Nov 2015 04:03:01 +0000 (+0100) Subject: x86_hdimage: fix -b feature X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=ee0944b45cda33991b1ff2e4077fa5139af6334e;p=minix.git x86_hdimage: fix -b feature Change-Id: I0f8ccef5cc8de2e2db52e0967b6bf108bc1e56a7 --- diff --git a/releasetools/image.functions b/releasetools/image.functions index a87bcc83c..b814d0005 100644 --- a/releasetools/image.functions +++ b/releasetools/image.functions @@ -287,8 +287,8 @@ do BUILDVARS="$BUILDVARS -X $OPTARG";; b) # bitcode build: increase partition sizes - ROOT_SIZE="$((${ROOT_SIZE} + 192*(2**20) / 512))" - USR_SIZE="$((${USR_SIZE} + 256*(2**20) / 512))" + ROOT_SIZE="$((${ROOT_SIZE} + 192*(2**20)))" + USR_SIZE="$((${USR_SIZE} + 256*(2**20)))" ASR_HACK=1;; h) usage