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

Fix issue with stripped vmlinux and re-introduce Gentoo tests #454

Merged
merged 2 commits into from
Oct 24, 2024

Conversation

Nowa-Ammerlaan
Copy link
Contributor

@Nowa-Ammerlaan Nowa-Ammerlaan commented Oct 23, 2024

  • silence complaints from readelf if, for example, the .comment section is missing from vmlinux. If readelf fails then we should always just continue with the second .config based check.
  • re-introduce the tests for Gentoo with more optimizations for speed.

[EDIT] Gentoo tests now complete successfully after 4 minutes, I'd say that is quite fast.

vmlinux is not guaranteed to contain a .comment section, if it is
missing then readelf complains. To prevent this complaint from
interfering with the tests redirect stderr through the pipe as well
for this check. This also silences some useless noise at runtime.

Functionally this changes nothing, both before and after this change
the lack of a .comment section would cause the code to fall back to
the second .config based check.

This issue was discovered on Gentoo, where the package manager will
strip most installed files to save space unless instructed not to by
the user.

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Should be faster now due to making better use of the binhost, setting
MAKEOPTS for parallelisation, using the parallel-install feature, and
using a faster repository syncing method.

Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
@Nowa-Ammerlaan Nowa-Ammerlaan mentioned this pull request Oct 23, 2024
@scaronni
Copy link
Collaborator

Perfect, than you!

@scaronni scaronni merged commit 8a8a9d1 into dell:master Oct 24, 2024
28 checks passed
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

Successfully merging this pull request may close these issues.

2 participants