diff options
author | Matthias Schiffer <matthias.schiffer@ew.tq-group.com> | 2021-07-21 16:10:15 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-24 16:33:46 +0100 |
commit | 2b45c7253fde3edf97e73e433f4d73989997a87a (patch) | |
tree | f67b36a9370fdd6d864bdf78236065f93c928edf /scripts/task-time | |
parent | 9448e5f17dc5fd3646b6412f547300a4753521b3 (diff) | |
download | poky-2b45c7253fde3edf97e73e433f4d73989997a87a.tar.gz |
initscripts: populate-volatile.sh: run create_file synchronously
The behavior of running create_file in the background was introduced in
d44816bedade ("initscripts: Populate volatile from existing file")
without further explanation. Besides its questionable benefit, this
causes actual issues:
- Not all create_file processes may have finished by the time the
initscript exits (or when it moves /etc/volatile.cache.build !)
- By making the order of commands nondeterminstic, it could hide
dependency issues where it was attempted to create files before their
containing directories
(From OE-Core rev: 1a4ddb0d3f1289e0b67b6eba9be58374d3d7a80b)
Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/task-time')
0 files changed, 0 insertions, 0 deletions