summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorRichard Elberger <rich@richelberger.com>2023-02-25 16:36:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-26 11:49:41 +0000
commitd86cbd3d3d9d2565cd29abd5698243781623185e (patch)
treec8344065560687e7576754caa95f8481a7c4e56f /bitbake
parent67d5541f65f4d2538b2d92a388af65d3f2fb14ee (diff)
downloadpoky-d86cbd3d3d9d2565cd29abd5698243781623185e.tar.gz
bitbake: documentation: bitbake: add file-checksums to varflags section
Fixes [YOCTO #11605] by: - Adding definition of file-checksums to Variable Flags section. - Describe data to add to list which adds external file dependencies. - Write example on usage to prepend a value to file-checksums list. (Bitbake rev: 6bc65e6402a74c9a65e29333a7e0f1f85dcbcf58) Signed-off-by: Richard Elberger <rich@richelberger.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst17
1 files changed, 17 insertions, 0 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index deb7afad43..ba8129afab 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -1496,6 +1496,23 @@ functionality of the task:
1496 directory listed is used as the current working directory for the 1496 directory listed is used as the current working directory for the
1497 task. 1497 task.
1498 1498
1499- ``[file-checksums]``: Controls the file dependencies for a task. The
1500 baseline file list is the set of files associated with
1501 :term:`SRC_URI`. May be used to set additional dependencies on
1502 files not associated with :term:`SRC_URI`.
1503
1504 The value set to the list is a file-boolean pair where the first
1505 value is the file name and the second is whether or not it
1506 physically exists on the filesystem. ::
1507
1508 do_configure[file-checksums] += "${MY_DIRPATH}/my-file.txt:True"
1509
1510 It is important to record any paths which the task looked at and
1511 which didn't exist. This means that if these do exist at a later
1512 time, the task can be rerun with the new additional files. The
1513 "exists" True or False value after the path allows this to be
1514 handled.
1515
1499- ``[lockfiles]``: Specifies one or more lockfiles to lock while the 1516- ``[lockfiles]``: Specifies one or more lockfiles to lock while the
1500 task executes. Only one task may hold a lockfile, and any task that 1517 task executes. Only one task may hold a lockfile, and any task that
1501 attempts to lock an already locked file will block until the lock is 1518 attempts to lock an already locked file will block until the lock is