Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
swupdate
meta-swupdate
Commits
2029a407
Commit
2029a407
authored
Sep 09, 2021
by
Adrian Freihofer
Committed by
Stefano Babic
Sep 22, 2021
Browse files
swupdate-image: use find bitbake variables
Signed-off-by:
Adrian Freihofer
<
adrian.freihofer@siemens.com
>
parent
27d587f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
classes/swupdate-image.bbclass
View file @
2029a407
...
...
@@ -30,6 +30,10 @@ python do_swupdate_copy_swdescription() {
bb.fatal("SWUPDATE_IMAGES_FSTYPES[%s] is not set !" % image)
}
do_swupdate_copy_swdescription[nostamp] = "1"
addtask swupdate_copy_swdescription before do_image_complete after do_unpack
addtask swuimage after do_swupdate_copy_swdescription do_image_complete before do_build
# Read all variables from sw-description file and add them to the vardeps of the do_swuimage task. Bitbake
# cannot know that the do_swuimage task which evaluates the templated sw-description file needs to be executed
# if a variable which is refered by the sw-description file but not by the recipe itself.
do_swuimage[vardeps] ?= "${@swupdate_find_bitbake_variables(d)}"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment