Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

signatures lead to unexpected kernel configuration #3526

Open
rettier opened this issue Sep 30, 2024 · 0 comments
Open

signatures lead to unexpected kernel configuration #3526

rettier opened this issue Sep 30, 2024 · 0 comments

Comments

@rettier
Copy link

rettier commented Sep 30, 2024

We have noticed when signing the build elements (by setting SIGN_API) the kernel configuration and which modules were built different from a build without signing. Through blunt debugging we pinned this down to the following line

do_configure[cleandirs] += "${@oe.utils.conditional('SIGN_API','','','${B}',d)}"

our assumption is that the cleandirs will reset the merged kernel config to the original in-tree one. The final do_kernel_resin_injectconfig also references that the kernel config is used after the configure task.

# This is after configure so we are sure there is a .config file

When we print the kernel configuration at that point, it is the default in-tree one (i.e. LOCALVERSION is empty and set to AUTO)

By removing the line we can get our expected kernel modules, but we do not know if this then collides with output from a previous builts (the comment states the cleandirs is necessary to cleanup).

Is this a bug or are there other steps necessary to using the SIGN_API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant