mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
wic: Introduce empty plugin to create unformatted empty partitions
The empty wic plugin is used to create unformatted empty partitions for wic
images.
To use it you must pass "empty" as argument for the "--source" parameter in
the wks file. For example:
part foo --source empty --ondisk sda --size="1024" --align 1024
Also adds a selftest for this plugin where the 'Fstype' column from 'wic
ls' should be empty for the second partition as listed in
test_empty_plugin.wks.
(From OE-Core rev: 77d174fc80663403ef76c5b808aafc1117d3545c)
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3cc6465464
commit
75b74f6b8d
4
meta-selftest/wic/test_empty_plugin.wks
Normal file
4
meta-selftest/wic/test_empty_plugin.wks
Normal file
@@ -0,0 +1,4 @@
|
||||
# short-description: image for checking empty partition creation
|
||||
|
||||
part / --source rootfs --fstype=ext4 --align 1024 --use-uuid
|
||||
part empty --source empty --ondisk sda --size 1024 --align 1024
|
||||
Reference in New Issue
Block a user