Skip to content

Commit d45f07d

Browse files
author
Christophe Priouzeau
committed
ST-PARTITION: use IMAGE_MACHINE_SUFFIX
1 parent dd13b83 commit d45f07d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

classes/st-partitions-image.bbclass

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ python image_rootfs_image_clean_task(){
167167

168168
deploy_image_dir = d.expand("${DEPLOY_DIR}")
169169
machine = d.expand("${MACHINE}")
170+
image_machine_suffix = d.getVar('IMAGE_MACHINE_SUFFIX') or ""
170171
distro = d.expand("${DISTRO}")
171172
img_rootfs = d.getVar('IMAGE_ROOTFS')
172173
partitionsconfigflags = d.getVarFlags('PARTITIONS_IMAGES')
@@ -210,7 +211,7 @@ python image_rootfs_image_clean_task(){
210211

211212
# Manifest file of the partition to check packages are in that partition
212213
manif_file = os.path.join(deploy_image_dir, "images", machine,
213-
_img_partition + "-" + distro + "-" + machine + "."+ _img_suffix +".manifest")
214+
_img_partition + "-" + distro + image_machine_suffix + "."+ _img_suffix +".manifest")
214215
try:
215216
manifest_content = open(manif_file, "r")
216217
contents = manifest_content.read().splitlines()

0 commit comments

Comments
 (0)