-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builders: Added escape of 'env' parameter
There is an issue with passing the "EXT_MODULES" parameter from the configuration moulin yaml file to the build.sh context. The 'android_kernel' builder didn't escape double quotes, while wrapping the 'env' parameter in additional double quotes like this: bash -c "...env..." As a result, an incorrect syntax was generated in the build.ninja file. To generate a functional build.ninja file, it was necessary to take this aspect into account in the moulin.yaml file and add additional escaping there. This approach is ambiguous since it requires the user to know the implementation details of each moulin builder. To address this issue, a simple escape function was added to all builders that support the 'env' parameter. It escapes double quotes to ensure proper handling of the 'env' variable. The issue has been resolved for the following builders: - android_kernel builder - android builder - zephyr builder Signed-off-by: Mykhailo Androsiuk <[email protected]>
- Loading branch information
Mykhailo Androsiuk
committed
Oct 25, 2023
1 parent
b65571e
commit d8fe51f
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters