]> code.ossystems Code Review - openembedded-core.git/commit
wic: account for mmcblk device partition naming
authorMaciej Borzecki <maciej.borzecki@open-rnd.pl>
Mon, 22 Dec 2014 14:28:02 +0000 (15:28 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Dec 2014 17:48:58 +0000 (17:48 +0000)
commite2664f563921467fe38bb74f4dd2a41eb004ee9f
treea7b7b2328f985523979f28c0c64950a751d48bb2
parent9e906f4260d9ce44a78cc315930677b3bd0ab9c1
wic: account for mmcblk device partition naming

MMC block device partitions are named differently than other block
devices and use the scheme: mmcblk<devnum>p<partnum>, ex: mmcblk0p1,
mmcblk0p2. The current code generates incorrect parition names missing
'p' infix for fstab entries. The patch resolves this problem.

Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl>
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/imager/direct.py