[1.46][PATCH 0/6] Patch review
Please review this set of patches for the upcoming 3.1.1 release and have comments back by end of day Wednesday.
The following changes since commit b94dec477a8d48ebceec91952ba290798c56c1f5:
bitbake.conf: Drop unneeded variables from bitbake.conf (2020-04-24 14:31:30 +0100)
are available in the Git repository at:
git://git.openembedded.org/bitbake-contrib stable/1.46-nut
http://cgit.openembedded.org/bitbake-contrib/log/?h=stable/1.46-nut
Jacob Kroon (2):
doc: Clarify how task dependencies relate to RDEPENDS
doc: More explanation to tasks that recursively depend on themselves
Kai Kang (1):
bitbake-user-manual-metadata.xml: fix a minor error
Robert P. J. Day (2):
docs: delete reference to obsolete recipe-depends.dot user manual: properly tag content as <replaceable>
Tim Orling (1):
toaster-requirements.txt: require Django 2.2
.../bitbake-user-manual-execution.xml | 4 ++-- .../bitbake-user-manual-intro.xml | 7 +------ .../bitbake-user-manual-metadata.xml | 19 ++++++++++++------- toaster-requirements.txt | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-)
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 1/6] docs: delete reference to obsolete recipe-depends.dot
From: "Robert P. J. Day" <[email protected]>
Given that generation of recipe-depends.dot was removed:
commit 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30
Author: Chen Qi <[email protected]>
Date: Thu Aug 22 15:52:51 2019 +0800
cooker.py: remove generation of recipe-depends.dot
The information of recipe-depends.dot is misleading.
delete mention of it from the user manual.
--- doc/bitbake-user-manual/bitbake-user-manual-intro.xml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-intro.xml +1 -6
@@ -694,14 +694,9 @@ </para> <para> - When you generate a dependency graph, BitBake writes three files + When you generate a dependency graph, BitBake writes two files to the current working directory: <itemizedlist> - <listitem><para> - <emphasis><filename>recipe-depends.dot</filename>:</emphasis> - Shows dependencies between recipes (i.e. a collapsed version of - <filename>task-depends.dot</filename>). - </para></listitem> <listitem><para> <emphasis><filename>task-depends.dot</filename>:</emphasis> Shows dependencies between tasks.
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 2/6] user manual: properly tag content as <replaceable>
In reply to Steve SakomanFrom: "Robert P. J. Day" <[email protected]>
Tag a couple fields as replaceable to be consistent with rest of manual.
--- doc/bitbake-user-manual/bitbake-user-manual-execution.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-execution.xml +2 -2
@@ -618,12 +618,12 @@ <para> Tasks can be either a shell task or a Python task. For shell tasks, BitBake writes a shell script to - <filename>${</filename><link linkend='var-bb-T'><filename>T</filename></link><filename>}/run.do_taskname.pid</filename> + <filename>${</filename><link linkend='var-bb-T'><filename>T</filename></link><filename>}/run.do_taskname.<replaceable>pid</replaceable></filename> and then executes the script. The generated shell script contains all the exported variables, and the shell functions with all variables expanded. Output from the shell script goes to the file - <filename>${T}/log.do_taskname.pid</filename>. + <filename>${T}/log.do_taskname.<replaceable>pid</replaceable></filename>. Looking at the expanded shell functions in the run file and the output in the log files is a useful debugging technique. </para>
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 3/6] doc: Clarify how task dependencies relate to RDEPENDS
In reply to Steve SakomanFrom: Jacob Kroon <[email protected]>
Clarify that BitBake knows how to map entries defined in the runtime dependency namespace back to build-time dependencies (recipes) in which tasks are defined.
--- doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 3 +++ 1 file changed, 3 insertions(+)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +3 -0
@@ -2526,6 +2526,9 @@ In the previous example, the <filename>do_packagedata</filename> task of each item in <filename>RDEPENDS</filename> must have completed before <filename>do_package_qa</filename> can execute. + Although <filename>RDEPENDS</filename> contains entries from the + runtime dependency namespace, BitBake knows how to map them back + to the build-time dependency namespace, in which the tasks are defined. </para> </section>
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 4/6] doc: More explanation to tasks that recursively depend on themselves
In reply to Steve SakomanFrom: Jacob Kroon <[email protected]>
--- .../bitbake-user-manual-metadata.xml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +8 -6
@@ -2565,15 +2565,17 @@ </para> <para> - You might want to not only have BitBake look for - dependencies of those tasks, but also have BitBake look - for build-time and runtime dependencies of the dependent - tasks as well. - If that is the case, you need to reference the task name - itself in the task list: + BitBake allows a task to recursively depend on itself by + referencing itself in the task list: <literallayout class='monospaced'> do_a[recrdeptask] = "do_a do_b" </literallayout> + In the same way as before, this means that the <filename>do_a</filename> + and <filename>do_b</filename> tasks of the current recipe and all + recipes reachable (by way of dependencies) from the recipe + must run before the <filename>do_a</filename> task can run. In this + case BitBake will ignore the current recipe's <filename>do_a</filename> + task circular dependency on itself. </para> </section>
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 5/6] bitbake-user-manual-metadata.xml: fix a minor error
In reply to Steve SakomanFrom: Kai Kang <[email protected]>
In the '_remove' example in bitbake-user-manual-metadata.xml, there is no 'jkl' in the original value of FOO2. So remove it from result.
--- doc/bitbake-user-manual/bitbake-user-manual-metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.xml +1 -1
@@ -432,7 +432,7 @@ The variable <filename>FOO</filename> becomes " 789 123456 " and <filename>FOO2</filename> becomes - " jkl abcdef ". + " abcdef ". </para> <para>
Signature · 1 line
2.17.1
[bitbake][dunfell][1.46][PATCH 6/6] toaster-requirements.txt: require Django 2.2
In reply to Steve SakomanFrom: Tim Orling <[email protected]>
In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667 Django 2.2 was enabled.
Django 1.11 was EOL on April 1, 2020
--- toaster-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
toaster-requirements.txt +1 -1
@@ -1,3 +1,3 @@ -Django>1.8,<1.12 +Django>2.2,<2.3 beautifulsoup4>=4.4.0 pytz
Signature · 1 line
2.17.1