Update dmverity tool to take a directory as input to create a VHD#2274
Update dmverity tool to take a directory as input to create a VHD#2274anmaxvl merged 6 commits intomicrosoft:mainfrom
Conversation
46bbdf9 to
ea8559a
Compare
|
i am not sure the tar creation should be part of dmverity/our package, since we are basically always guaranteed that |
|
@helsaawy the tar creation is taking a directory of files and tarring it so that it can be run through the tooling to generate a VHD with the merkel tree. This is for the scenario where we are not creating a VHD from image layers, but rather, a directory of other files and subdirectories. |
in that scenario, can't you just call |
Yes, but that adds an extra step for the user. |
I don't think that this should be |
…rosoft#2270) Make tar2ext4 deterministic with files without parent dir in tar Signed-off-by: Takuro Sato <takurosato@microsoft.com> Signed-off-by: Heather Garvison <hgarvison@microsoft.com>
When creating HCS doc for SNP UVM with verity boot, the SCSI controllers are overriden to always have only a single SCSI controller. This limits the max number of container layers to 64. Signed-off-by: Maksim An <maksiman@microsoft.com> Signed-off-by: Heather Garvison <hgarvison@microsoft.com>
Signed-off-by: Heather Garvison <hgarvison@microsoft.com>
Resolving comment to keep image flag available Co-authored-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com> Signed-off-by: Heather Garvison <hgarvison@microsoft.com>
Signed-off-by: Heather Garvison <hgarvison@microsoft.com>
Signed-off-by: Heather Garvison <hgarvison@microsoft.com>
This PR updates the ADO main mirror to c65b789 in line with upstream main This includes the following changes: - Fix issue with mask length of gateway addresses microsoft#2305 - Fixing endpoint type microsoft#2289 - Update dmverity tool to take a directory as input to create a VHD microsoft#2274 - Update containerd to v1.7.23 microsoft#2293 - Update go version to 1.22 microsoft#2300 - add `longPathAware` to shim manifest microsoft#2303 ---- #### AI description (iteration 1) #### PR Classification Code cleanup and enhancement. #### PR Summary Refactored error definitions to improve error handling and mapping to grpc errors. - `vendor/github.com/containerd/errdefs/errors.go`: Replaced simple error variables with structured error types, added detailed error interfaces and helper functions for better error identification and handling. Related work items: microsoft#2274, microsoft#2279, microsoft#2287, microsoft#2293
Update dmverity tool to take a file directory as input, tar it, and create a VHD.