From 941693408ab67a20aa8a1ff6490dccdaac33dcfb Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Thu, 3 Nov 2022 20:12:09 +0000 Subject: [PATCH] base: core-image-minimal-initramfs: inherit nopackages Currently this recipe rebuild when the builddir change | bitbake core-image-minimal-initramfs -S printdiff | The differences between the current build and any cached tasks start at the following tasks: | /lmp/build/conf/../../layers/openembedded-core/meta/recipes-core/images/core-image-minimal-initramfs.bb:do_deploy_source_date_epoch This fix will improve the sstate cache reuse and will make the recipe resilient to builddir changes Signed-off-by: Jose Quaresma --- .../recipes-core/images/core-image-minimal-initramfs.bbappend | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-lmp-base/recipes-core/images/core-image-minimal-initramfs.bbappend b/meta-lmp-base/recipes-core/images/core-image-minimal-initramfs.bbappend index 5a0b583847..1bc8e0a1cc 100644 --- a/meta-lmp-base/recipes-core/images/core-image-minimal-initramfs.bbappend +++ b/meta-lmp-base/recipes-core/images/core-image-minimal-initramfs.bbappend @@ -3,3 +3,5 @@ INITRAMFS_SCRIPTS:remove = "initramfs-module-install" SSTATE_SKIP_CREATION:task-image-qa = "0" SSTATE_SKIP_CREATION:task-image-complete = "0" + +inherit nopackages