mirror of
https://git.yoctoproject.org/poky
synced 2026-09-13 18:49:33 +02:00
wic: add --fixed-size wks option
Added new option --fixed-size to wks. The option can be used to indicate the exact size of a partition. The option cannot be added together with --size, in which case an error will be raised. Other options that influence automatic partition size (--extra-space, --overhead-factor), if specifiec along with --fixed-size, will raise an error. If it partition data is larger than the amount of space specified with --fixed-size option wic will raise an error. (From OE-Core rev: fdd217ba874bd480e0180830fe2e6bd54dde19d9) Signed-off-by: Maciej Borzecki <maciej.borzecki@rndity.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
5903182484
commit
1988bae5bf
@@ -290,7 +290,7 @@ class DirectImageCreator(BaseImageCreator):
|
||||
self.bootimg_dir, self.kernel_dir, self.native_sysroot)
|
||||
|
||||
|
||||
self.__image.add_partition(int(part.size),
|
||||
self.__image.add_partition(part.disk_size,
|
||||
part.disk,
|
||||
part.mountpoint,
|
||||
part.source_file,
|
||||
|
||||
Reference in New Issue
Block a user