mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
selftest: wic: Add test for --part-name argument
Add test for wic --part-name argument in .wks file. Test three different cases: - Set only the --part-name argument. - Set only the --label argument. In this case the GPT partition label is set to the value of --label for compatibility reasons. - Set both. In this case the code has been changed to set the GPT partition label to the --part-name value. The test uses a test_gpt_partition_name.wks file created for this purpose. (From OE-Core rev: 06af6795cf6f079362303bddb39a14459e228e72) Signed-off-by: Dit Kozmaj <dit.kozmaj@kynetics.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
18b04f9c3f
commit
a60925d00a
7
meta-selftest/wic/test_gpt_partition_name.wks
Normal file
7
meta-selftest/wic/test_gpt_partition_name.wks
Normal file
@@ -0,0 +1,7 @@
|
||||
# short-description: image to test part-name in GPT partitions
|
||||
|
||||
part --fstype=ext4 --part-name boot-A --label boot --size 1M --align 1024
|
||||
part / --source rootfs --fstype=ext4 --part-name root-A --align 1024
|
||||
part --fstype=ext4 --label ext-space --size 1M --align 1024
|
||||
|
||||
bootloader --ptable gpt
|
||||
Reference in New Issue
Block a user