[PATCH 1/7] package_pkgdata: fix typo to stop calling undefined function

Adam Blank
2026-04-18T18:34:09Z

The function is named 'package_populate_pkgdata_dir' but the
call was to 'staging_package_populate_pkgdata_dir'.

Signed-off-by: Adam Blank <adam.blank.g@gmail.com>
---
meta/classes-global/package_pkgdata.bbclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/classes-global/package_pkgdata.bbclass b/meta/classes-global/package_pkgdata.bbclass
index f653bd9240..b2f4e7594c 100644
--- a/meta/classes-global/package_pkgdata.bbclass
+++ b/meta/classes-global/package_pkgdata.bbclass
@@ -31,6 +31,8 @@ def package_populate_pkgdata_dir(pkgdatadir, d):
except FileExistsError:
continue

+package_populate_pkgdata_dir[vardepsexclude] += "MACHINE_ARCH PACKAGE_EXTRA_ARCHS"
+
python package_prepare_pkgdata() {
import copy
import glob
@@ -47,7 +49,7 @@ python package_prepare_pkgdata() {
# Detect bitbake -b usage
nodeps = d.getVar("BB_LIMITEDDEPS") or False
if nodeps:
- staging_package_populate_pkgdata_dir(pkgdatadir, d)
+ package_populate_pkgdata_dir(pkgdatadir, d)
return

start = None

--
2.43.0