]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
wic: do not use PARTLABEL for msdos partition tables
authorHenning Schild <henning.schild@siemens.com>
Fri, 22 Apr 2022 09:44:48 +0000 (11:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 22 Apr 2022 22:40:16 +0000 (23:40 +0100)
commit9ea1a838b946020e026edc032039552b723fcaa4
tree4dae57d3e1714f4df498764a10221fda7720056b
parent0f96a77c431bba9ae89fb6ee079f460c011b9b36
wic: do not use PARTLABEL for msdos partition tables

When using "msdos" partition tables and "--label" but not "--use-uuid"
one can generate images which will not find their root, because
PARTLABEL does not work for "msdos".

Fix that by simply not going the PARTLABEL path in case of "msdos".

Fixes: 2fb247c5ecf0 ("wic: support rootdev identified by partition label")
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/imager/direct.py