blob: 322be498867de65f43b5211c71f9f0d3f3508770 [file] [log] [blame]
Brad Bishopbec4ebc2022-08-03 09:55:16 -04001# This class removes the empty partition table header
2# in the WIC file when --no-table WKS option is used
3
4IMAGE_TYPES += "wic.nopt"
5
6CONVERSIONTYPES += "nopt"
7
8# 1024 bytes are skipped which corresponds to the size of the partition table header to remove
9CONVERSION_CMD:nopt = "tail -c +1025 ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type} > ${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.${type}.nopt"