Skip to contentSkip to conversation

alsa-tools: Ensure we install correctly

PATCH New Richard Purdie 1 participant 4 messages Apr 18, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 alsa-tools: Ensure we install correctly

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.

---
 meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-multimedia/alsa/alsa-tools_1.2.5.bb +1 -0
index b0832f93c11..56acc84559d 100644
@@ -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)
Signature · 1 line
2.32.0
#1 lore raw

PATCH 2/4 libxshmfence: Correct LICENSE to HPND

The license in this code is listed as MIT and whilst it is compatible with and usable as MIT, it actually looks like HPND. Clarify the license field accordingly.

---
 meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb | 2 +-
 meta/recipes-graphics/xorg-lib/libxshmfence_1.3.bb             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
meta-selftest/recipes-test/recipeutils/recipeutils-test_1.2.bb +1 -1
index 062d6a7a058..ad9f475d151 100644
@@ -2,7 +2,7 @@ SUMMARY = "Test recipe for recipeutils.patch_recipe()"
 
 require recipeutils-test.inc
 
-LICENSE = "Proprietary"
+LICENSE = "HPND"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/somefile;md5=d41d8cd98f00b204e9800998ecf8427e"
 DEPENDS += "zlib"
 
meta/recipes-graphics/xorg-lib/libxshmfence_1.3.bb +1 -1
index f465266672d..b0b6cb6b567 100644
@@ -6,7 +6,7 @@ using file descriptor passing."
 
 require xorg-lib-common.inc
 
-LICENSE = "MIT"
+LICENSE = "HPND"
 LIC_FILES_CHKSUM = "file://COPYING;md5=47e508ca280fde97906eacb77892c3ac"
 
 DEPENDS += "virtual/libx11"
Signature · 1 line
2.32.0
#2 lore raw

PATCH 3/4 bitbake.conf: Correct BB_SIGNATURE_EXCLUDE_FLAGS

In reply to Richard Purdie

Some of the flags listed here do change the output and hence do need to be included in task checksums.

This means we start including the following flags in function/task/variable checksums:

type, func, export, unexport, noexec, dirs, cleandirs

---
 meta/conf/bitbake.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/conf/bitbake.conf +2 -2
index 3fa2bee053c..0e939aca4f9 100644
@@ -950,8 +950,8 @@ BB_HASHCONFIG_IGNORE_VARS ?= "${BB_HASHEXCLUDE_COMMON} DATE TIME SSH_AGENT_PID \
     HTTP_PROXY http_proxy HTTPS_PROXY https_proxy SOCKS5_USER SOCKS5_PASSWD \
     BB_SETSCENE_ENFORCE BB_CMDLINE BB_SERVER_TIMEOUT"
 BB_SIGNATURE_EXCLUDE_FLAGS ?= "doc deps depends \
-    lockfiles type vardepsexclude vardeps vardepvalue vardepvalueexclude \
-    file-checksums python func task export unexport noexec nostamp dirs cleandirs \
+    lockfiles vardepsexclude vardeps vardepvalue vardepvalueexclude \
+    file-checksums python task nostamp \
     sstate-lockfile-shared prefuncs postfuncs export_func deptask rdeptask \
     recrdeptask nodeprrecs stamp-extra-info sstate-outputdirs filename lineno \
     progress mcdepends number_threads"
Signature · 1 line
2.32.0
#3 lore raw

PATCH 4/4 git: Upgrade 2.35.1 -> 2.35.2

In reply to Richard Purdie

This includes a fix for CVE-2022-24765

---
 meta/recipes-devtools/git/{git_2.35.1.bb => git_2.35.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/git/{git_2.35.1.bb => git_2.35.2.bb} (98%)
meta/recipes-devtools/git/git_2.35.2.bb renamed from meta/recipes-devtools/git/git_2.35.1.bb +1 -1
similarity index 98%
rename from meta/recipes-devtools/git/git_2.35.1.bb
rename to meta/recipes-devtools/git/git_2.35.2.bb
index e39142128b3..98125492217 100644
@@ -156,4 +156,4 @@ EXTRA_OECONF += "ac_cv_snprintf_returns_bogus=no \
                  "
 EXTRA_OEMAKE += "NO_GETTEXT=1"
 
-SRC_URI[tarball.sha256sum] = "9845a37dd01f9faaa7d8aa2078399d3aea91b43819a5efea6e2877b0af09bd43"
+SRC_URI[tarball.sha256sum] = "0decc02a47e792f522df3183c38a61ad8fbb38927502ca6781467a6599a888cb"
Signature · 1 line
2.32.0