diff options
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/image_types.bbclass | 2 | ||||
-rw-r--r-- | meta/classes-recipe/image_types_wic.bbclass | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes-recipe/image_types.bbclass b/meta/classes-recipe/image_types.bbclass index 2f948ecbf8..506b9934cb 100644 --- a/meta/classes-recipe/image_types.bbclass +++ b/meta/classes-recipe/image_types.bbclass | |||
@@ -146,6 +146,7 @@ IMAGE_CMD:vfat = "oe_mkvfatfs ${EXTRA_IMAGECMD}" | |||
146 | IMAGE_CMD_TAR ?= "tar" | 146 | IMAGE_CMD_TAR ?= "tar" |
147 | # ignore return code 1 "file changed as we read it" as other tasks(e.g. do_image_wic) may be hardlinking rootfs | 147 | # ignore return code 1 "file changed as we read it" as other tasks(e.g. do_image_wic) may be hardlinking rootfs |
148 | IMAGE_CMD:tar = "${IMAGE_CMD_TAR} --sort=name --format=posix --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}.tar -C ${IMAGE_ROOTFS} . || [ $? -eq 1 ]" | 148 | IMAGE_CMD:tar = "${IMAGE_CMD_TAR} --sort=name --format=posix --numeric-owner -cf ${IMGDEPLOYDIR}/${IMAGE_NAME}.tar -C ${IMAGE_ROOTFS} . || [ $? -eq 1 ]" |
149 | SPDX_IMAGE_PURPOSE:tar = "archive" | ||
149 | 150 | ||
150 | do_image_cpio[cleandirs] += "${WORKDIR}/cpio_append" | 151 | do_image_cpio[cleandirs] += "${WORKDIR}/cpio_append" |
151 | IMAGE_CMD:cpio () { | 152 | IMAGE_CMD:cpio () { |
@@ -167,6 +168,7 @@ IMAGE_CMD:cpio () { | |||
167 | fi | 168 | fi |
168 | fi | 169 | fi |
169 | } | 170 | } |
171 | SPDX_IMAGE_PURPOSE:cpio = "archive" | ||
170 | 172 | ||
171 | UBI_VOLNAME ?= "${MACHINE}-rootfs" | 173 | UBI_VOLNAME ?= "${MACHINE}-rootfs" |
172 | UBI_VOLTYPE ?= "dynamic" | 174 | UBI_VOLTYPE ?= "dynamic" |
diff --git a/meta/classes-recipe/image_types_wic.bbclass b/meta/classes-recipe/image_types_wic.bbclass index cf3be909b3..86f40633eb 100644 --- a/meta/classes-recipe/image_types_wic.bbclass +++ b/meta/classes-recipe/image_types_wic.bbclass | |||
@@ -91,6 +91,7 @@ IMAGE_CMD:wic () { | |||
91 | mv "$build_wic/$(basename "${wks%.wks}")"*.${IMAGER} "$out.wic" | 91 | mv "$build_wic/$(basename "${wks%.wks}")"*.${IMAGER} "$out.wic" |
92 | } | 92 | } |
93 | IMAGE_CMD:wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES TOPDIR" | 93 | IMAGE_CMD:wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES TOPDIR" |
94 | SPDX_IMAGE_PURPOSE:wic = "diskImage" | ||
94 | do_image_wic[cleandirs] = "${WORKDIR}/build-wic" | 95 | do_image_wic[cleandirs] = "${WORKDIR}/build-wic" |
95 | 96 | ||
96 | PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/build-wic" | 97 | PSEUDO_IGNORE_PATHS .= ",${WORKDIR}/build-wic" |