Skip to content

Commit

Permalink
classes-recipe: bundle: add ".rootfs" to default image search path
Browse files Browse the repository at this point in the history
Since oe-core commit 26d97acc71379ab6702fa54a23b6542a3f51779c
("image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both
${IMAGE_NAME} and ${IMAGE_LINK_NAME}"), now also image symlinks contain
the '.rootfs' suffix that images already had.

Adapt to this change by adding ".rootfs" to the default search path for
rootfs images (i.e. their symlinks).

Signed-off-by: Enrico Jorns <[email protected]>
  • Loading branch information
ejoerns committed Jul 7, 2023
1 parent a950a45 commit 95797eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes-recipe/bundle.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def write_manifest(d):
if slotflags and 'file' in slotflags:
imgsource = d.getVarFlag('RAUC_SLOT_%s' % slot, 'file')
else:
imgsource = "%s-%s.%s" % (d.getVar('RAUC_SLOT_%s' % slot), machine, img_fstype)
imgsource = "%s-%s.rootfs.%s" % (d.getVar('RAUC_SLOT_%s' % slot), machine, img_fstype)
imgname = imgsource
elif imgtype == 'kernel':
# TODO: Add image type support
Expand Down

0 comments on commit 95797eb

Please sign in to comment.