OELint: Inconsisten behaviour when including files with variable in name #627
pasweistorz
started this conversation in
Is this a bug, or a feature?
Replies: 1 comment
-
My personal take would be to change it to the following
as |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Describe the bug
I have the following
test-recipe_1.0.bb
recipe:I'm adding the
test-recipe
package to an image and build the image for machineqemux86-64
. Both filesqemux86-64.inc
andmytest.inc
exist, are empty and reside next to thetest-recipe_1.0.bb
recipe. The image can be built but I get the following OELint SCA issue:In contrast, SCA doesn't complain about the
mytest.inc
file.My assumption is that the statement
_path = stash.ExpandTerm(_file, item.IncName)
in the implementation of the rule only expands variables from the current file. But theMACHINE
variable isn't defined in the recipe of course.Is this desired behaviour or a bug?
Used layer
Thanks for investigating.
Beta Was this translation helpful? Give feedback.
All reactions