We currently fully expand S before passing it to do_unpack. This makes
all packages that depend on the apt fetcher not cacheable, as the
absolute path ends up in the sstate signatures. Instead, we now use the
unexpanded bitbake variable ${S}.
Fixes: 37cb017a ("Convert apt source fetcher into native ...")
Signed-off-by: Felix Moessbauer <
felix.mo...@siemens.com>
---
meta/classes-recipe/dpkg-base.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/dpkg-base.bbclass b/meta/classes-recipe/dpkg-base.bbclass
index fbb952bd..b392211b 100644
--- a/meta/classes-recipe/dpkg-base.bbclass
+++ b/meta/classes-recipe/dpkg-base.bbclass
@@ -105,7 +105,7 @@ python() {
if u.startswith("apt://"):
d.appendVarFlag('do_fetch', 'depends', d.getVar('SCHROOT_DEP'))
- d.appendVarFlag('do_unpack', 'cleandirs', d.getVar('S'))
+ d.appendVarFlag('do_unpack', 'cleandirs', '${S}')
d.setVarFlag('do_unpack', 'network', d.getVar('TASK_USE_SUDO'))
break
--
2.55.0