Re: [langdale] dropbear recipe fails to parse without pam in DISTRO_FEATURES

Khem Raj

On Fri, Jan 13, 2023 at 6:26 AM Claude Bing <cbing@...> wrote:

Good day everyone.

We are in the process of upgrading to langdale, and I ran across a small
problem when building dropbear. The order of external assets in SRC_URI
seems to cause an issue when PAM is not available in DISTRO_FEATURES.

Unable to get checksum for dropbear SRC_URI entry
0007-Fix-X11-build-failure-use-DROPBEAR_PRIO_LOWDELAY.patchfile: file
could not be found

When we move the following entry to the bottom of SRC_URI in
meta/recipes-core/dropbear/, the recipe parses

${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}

Is this a good fix? Am I missing a larger issue?
try something like below it will remove the positional requirement.

--- a/meta/recipes-core/dropbear/
+++ b/meta/recipes-core/dropbear/
@@ -27,7 +27,8 @@ SRC_URI[sha256sum] =

PAM_SRC_URI = "file://0005-dropbear-enable-pam.patch \
file://0006-dropbear-configuration-file.patch \
- file://dropbear"
+ file://dropbear \
+ "

PAM_PLUGINS = "libpam-runtime \
pam-plugin-deny \


Claude Bing

Join to automatically receive all group messages.