* 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
* Re: [yocto] roundup feature for Wic partitions?
2023-01-06 23:28 roundup feature for Wic partitions? crawford.benjamin15
@ 2023-01-09 9:27 ` Alexander Kanavin
0 siblings, 0 replies; 2+ messages in thread
From: Alexander Kanavin @ 2023-01-09 9:27 UTC (permalink / raw)
To: Benjamin Mordaunt; +Cc: yocto
There is; the source code for wic and its tests are fully available to
you, so you are welcome to implement the missing bits and submit them
for review and inclusion.
Also, we do not have a wic maintainer.
Alex
On Sat, 7 Jan 2023 at 00:29, Benjamin Mordaunt
<crawford.benjamin15@gmail.com> wrote:
>
>
> 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
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#58932): https://lists.yoctoproject.org/g/yocto/message/58932
> Mute This Topic: https://lists.yoctoproject.org/mt/96104835/1686489
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ 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.