[honister,2/7] alsa-tools: Ensure we install correctly

Message ID a27f0e9e7efc2554826b7365a83c25980b28cf2d.1650941226.git.anuj.mittal@intel.com
State Accepted, archived
Commit a27f0e9e7efc2554826b7365a83c25980b28cf2d
Headers show
Series [honister,1/7] gmp: add missing COPYINGv3 | expand

Commit Message

Mittal, Anuj April 26, 2022, 2:54 a.m. UTC
From: Richard Purdie <richard.purdie@linuxfoundation.org>

With the fix for #8621, cleandirs is now applied to autotools_do_install
and this results in a lot of the install targets to be removed. Ensure
cleandirs isn't set for autotools_do_install.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72299395b06fc3fdaca5f7b8b87a6ea32a6267ad)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
index 540f4f79f4..e6fe83a186 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb
@@ -71,6 +71,7 @@  python do_compile() {
 }
 
 python do_install() {
+    d.delVarFlag("autotools_do_install", "cleandirs")
     for subdir in d.getVar("PACKAGECONFIG").split():
         subdir = subdir.replace("--", "/")
         bb.note("Installing %s" % subdir)