diff options
-rw-r--r-- | meta/classes/sstate.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 08c22293cc..7d253a7dc5 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -196,7 +196,8 @@ python sstate_cleanall() { | |||
196 | bb.note("Removing shared state for package %s" % bb.data.getVar('PN', d, True)) | 196 | bb.note("Removing shared state for package %s" % bb.data.getVar('PN', d, True)) |
197 | 197 | ||
198 | manifest_dir = bb.data.getVar('PSTAGE2_MANIFESTS', d, True) | 198 | manifest_dir = bb.data.getVar('PSTAGE2_MANIFESTS', d, True) |
199 | manifest_pattern = bb.data.expand("manifest-${PN}.*", d) | 199 | manifest_prefix = bb.data.getVar("PSTAGE2_MANFILEPREFIX", d, True) |
200 | manifest_pattern = os.path.basename(manifest_prefix) + ".*" | ||
200 | 201 | ||
201 | if not os.path.exists(manifest_dir): | 202 | if not os.path.exists(manifest_dir): |
202 | return | 203 | return |