Skip to content

Some minor fixes to build WolfSSL FIPS bundle#102

Closed
jviguera wants to merge 2 commits intowolfSSL:masterfrom
jviguera:jviguera/master
Closed

Some minor fixes to build WolfSSL FIPS bundle#102
jviguera wants to merge 2 commits intowolfSSL:masterfrom
jviguera:jviguera/master

Conversation

@jviguera
Copy link
Copy Markdown

A couple of commits that allow building the FIPS bundle without modifying meta-wolfssl and fixing the do_unpack function to be able to find the compressed package.

jviguera added 2 commits May 23, 2025 13:58
The do_unpack task failed because FILE_DIRNAME is expanded at task
execution time to a directory that does not contain the wolfssl FIPS
package.

To solve this, use the COMMERCIAL_CONFIG_DIR variable, which captures
the correct path through immediate expansion at parsing time.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Switched variable assignments to use "?=" to allow setting them from the
project's configuration file (local.conf) without modifying the bbappend.

This allows for a clean update of meta-wolfssl, as the repository no
longer needs to retain local changes.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
@wolfSSL-Bot
Copy link
Copy Markdown

Can one of the admins verify this patch?

@dgarske
Copy link
Copy Markdown
Member

dgarske commented May 27, 2025

Hi @jviguera , thank you for these suggestions! We are going to put up a PR with patches similar to this for the other commercial bundles as well. We'll reference those shortly and close this PR. Thanks, David Garske, wolfSSL

@night1rider
Copy link
Copy Markdown
Contributor

Hello @jviguera I have put up PR #103 This pulls in your recommendations, but also allows other commercial recipes to be updated in a similar fashion. Do note that instead of using 'WOLF_SRC*' variable. I have changed it to use 'WOLFSSL_SRC*', 'WOLFSSH_SRC*', ect variables for the recipes.

I will be closing this PR, but please let us know if there are any issues you spot in PR #103

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.

4 participants