Skip to content

Commit a102565

Browse files
danmihai1Redent0r
authored andcommitted
image: don't insert the DAX header (#56)
This is a workaround for kata-containers#7993. Signed-off-by: Dan Mihai <dmihai@microsoft.com>
1 parent d12122b commit a102565

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tools/osbuilder/image-builder/image_builder.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,15 @@ main() {
633633
create_rootfs_image "${rootfs}" "${image}" "${rootfs_img_size}" \
634634
"${fs_type}" "${block_size}" "${agent_bin}"
635635
fi
636+
637+
# Skip the insertion of the DAX header due to
638+
# https://github.com/kata-containers/kata-containers/issues/7993
639+
640+
#info "Partition information before set_dax_header:"
641+
#fdisk -lu "${image}"
642+
636643
# insert at the beginning of the image the MBR + DAX header
637-
set_dax_header "${image}" "${img_size}" "${fs_type}" "${nsdax_bin}"
644+
# set_dax_header "${image}" "${img_size}" "${fs_type}" "${nsdax_bin}"
638645

639646
chown "${USER}:${GROUP}" "${image}"
640647
}

0 commit comments

Comments
 (0)