diff --git a/classes/st-partitions-image.bbclass b/classes/st-partitions-image.bbclass index da77d2c..c9247a3 100644 --- a/classes/st-partitions-image.bbclass +++ b/classes/st-partitions-image.bbclass @@ -221,7 +221,7 @@ python image_rootfs_image_clean_task(){ # Check the package is in the manifest of the partition match = False for line in contents: - if re.match('^%s ' % package, line): + if package == line.split()[0]: match = True break if not match: