mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-04-03 02:22:55 +00:00
node-builder: 2Mb aligned guest image size
Build the mariner guest image using IMAGE_SIZE_ALIGNMENT_MB=2. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -58,7 +58,7 @@ if [ "${CONF_PODS}" == "yes" ]; then
|
||||
|
||||
echo "Building dm-verity protected image based on rootfs"
|
||||
pushd tools/osbuilder
|
||||
sudo -E PATH=$PATH make DISTRO=cbl-mariner MEASURED_ROOTFS=yes DM_VERITY_FORMAT=kernelinit image
|
||||
sudo -E PATH=$PATH make DISTRO=cbl-mariner MEASURED_ROOTFS=yes DM_VERITY_FORMAT=kernelinit IMAGE_SIZE_ALIGNMENT_MB=2 image
|
||||
popd
|
||||
|
||||
echo "Building IGVM and UVM measurement files"
|
||||
@@ -69,7 +69,7 @@ if [ "${CONF_PODS}" == "yes" ]; then
|
||||
else
|
||||
echo "Building image based on rootfs"
|
||||
pushd tools/osbuilder
|
||||
sudo -E PATH=$PATH make DISTRO=cbl-mariner image
|
||||
sudo -E PATH=$PATH make DISTRO=cbl-mariner IMAGE_SIZE_ALIGNMENT_MB=2 image
|
||||
popd
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user