Skip to content

Commit d437cd1

Browse files
committed
image: don't insert the DAX header
This is a workaround for kata-containers#7993. Signed-off-by: Dan Mihai <[email protected]>
1 parent 63b7022 commit d437cd1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

tools/osbuilder/image-builder/image_builder.sh

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,8 +678,18 @@ main() {
678678
create_rootfs_image "${rootfs}" "${image}" "${rootfs_img_size}" \
679679
"${fs_type}" "${block_size}" "${agent_bin}"
680680
fi
681+
682+
# Skip the insertion of the DAX header due to
683+
# https://github.com/kata-containers/kata-containers/issues/7993
684+
685+
#info "Partition information before set_dax_header:"
686+
#fdisk -lu "${image}"
687+
681688
# insert at the beginning of the image the MBR + DAX header
682-
set_dax_header "${image}" "${img_size}" "${fs_type}" "${nsdax_bin}"
689+
#set_dax_header "${image}" "${img_size}" "${fs_type}" "${nsdax_bin}"
690+
691+
#info "Partition information after set_dax_header:"
692+
#fdisk -lu "${image}"
683693
}
684694

685695
main "$@"

0 commit comments

Comments
 (0)