All of lore.kernel.org
 help / color / mirror / Atom feed
* roundup feature for Wic partitions?
@ 2023-01-06 23:28 crawford.benjamin15
  2023-01-09  9:27 ` [yocto] " Alexander Kanavin
  0 siblings, 1 reply; 2+ messages in thread
From: crawford.benjamin15 @ 2023-01-06 23:28 UTC (permalink / raw)
  To: yocto


Hi,

I am trying to configure an image to conform to the VHD size alignment
requirements of Azure. Azure requires that the filesize of a VHD be a
multiple of 1 MiB. The '--align' option works to align the _start_ of a
partition to a particular multiple, but I need the _end_ to be aligned.
As a workaround, I tried:

part /fake --fixed-size=0 --no-table --align=1024

I figured this would create a zero-sized partition which would be
appropriately aligned at the end of the image, but wic complains that
zero-sized partitions are not allowed.

Is there a way to achieve this, or extend the capabilities of wic to
handle this use case?

Best,
Ben


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-09  9:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-06 23:28 roundup feature for Wic partitions? crawford.benjamin15
2023-01-09  9:27 ` [yocto] " Alexander Kanavin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.