]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic: use part_name when defined
authorDit Kozmaj <dit.kozmaj@kynetics.com>
Thu, 6 Apr 2023 08:44:15 +0000 (10:44 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 13 Apr 2023 10:55:40 +0000 (11:55 +0100)
commit7704d5fc36eb065224792bf4d5543814eaa5fed3
treeff97d0a81f4450434829be1dbad767bf16671063
parent0bdfe34c016c8db1f18d76b59a38af280b4c70aa
wic: use part_name when defined

So far part.label has been used to define GPT partition label even if
part.part_name was defined.
Fix the code to use part.part_name whenever available, as it makes sense
to have a GPT partition label which is different from the contained
filesystem label.

Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com>
Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
scripts/lib/wic/plugins/imager/direct.py