]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
wic: add WIC_SECTOR_SIZE variable
authorVince Chang <vince_chang@aspeedtech.com>
Mon, 28 Oct 2024 03:46:17 +0000 (11:46 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 29 Oct 2024 11:17:05 +0000 (11:17 +0000)
commit2255f28b579bc5db4138bcacbb829661ae0ee721
tree90f7dc7ad5c79597292ea4bbf673c0ee9a5a1eea
parentd7bf828b6431a254201675e41047f53da47912f5
wic: add WIC_SECTOR_SIZE variable

Currently WIC is unable to generate images that requires a sector
size different of 512. Add WIC_SECTOR_SIZE variable to handle
the sector size of 4096 for UFS.

For "wic ls" command modify get_partitions() to support WIC_SECTOR_SIZE.

Signed-off-by: Vince Chang <vince_chang@aspeedtech.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/engine.py
scripts/lib/wic/plugins/imager/direct.py