]> code.ossystems Code Review - openembedded-core.git/commit
wic: fix calculation of partition number
authorEd Bartosh <ed.bartosh@linux.intel.com>
Mon, 17 Jul 2017 07:25:28 +0000 (10:25 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Aug 2017 14:11:38 +0000 (15:11 +0100)
commita1d18c00b8c9ce800a5147eaa71372083b8ae91e
treee1dfafb5314c46724af18d531c5e0b259cf20aeb
parentef47f682034f591c90572c082a753787aa1a8b9c
wic: fix calculation of partition number

Total number of partitions should be taken into account when calculating
real partition number for msdos partition table. The number can be
different for the 4th partition: it can be 4 if there are 4 partitions in
the table and 5 if there are more than 4 partitions in the table. In the
latter case number 4 is occupied by extended partition.

[YOCTO #11790]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
scripts/lib/wic/imager/direct.py