]> Zhao Yanbai Git Server - minix.git/commitdiff
x86_hdimage: fix -b feature 30/3230/2
authorDavid van Moolenbroek <david@minix3.org>
Sat, 14 Nov 2015 04:03:01 +0000 (05:03 +0100)
committerLionel Sambuc <lionel.sambuc@gmail.com>
Wed, 13 Jan 2016 19:32:29 +0000 (20:32 +0100)
Change-Id: I0f8ccef5cc8de2e2db52e0967b6bf108bc1e56a7

releasetools/image.functions

index a87bcc83c7c75564537374524621f20adbedb152..b814d00052d7b1dcf7438ce2cd341093cf494e5f 100644 (file)
@@ -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