summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc.inc
diff options
context:
space:
mode:
authorJoshua Watt <jpewhacker@gmail.com>2018-10-12 11:24:09 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-14 09:20:56 +0100
commit2844a495c673d0c06cccb6406266cd909e69344c (patch)
treedd2f1163f1dbfdbaa3ed5523abba7c58d51dc488 /meta/recipes-core/glibc/glibc.inc
parent0986c77eb0d4b7ecb695bd13449a258e1a9a0977 (diff)
downloadpoky-2844a495c673d0c06cccb6406266cd909e69344c.tar.gz
initscripts: populate-volatiles: Speed up processing
Checking the requirements for each volatiles file in the populate-volatiles script can be very slow when there are a large number of volatiles files, easily consuming over 80% of the processing time. These checks don't usually uncover any problems so concatenate all the volatiles files together and process them as one large file for a "fast path" option. This ensures that the penalty for checking the requirements is only incurred once. In the event that checking the requirements for the unified file fails, fall back to the slow process of checking each one individually so that the offending one can be skipped. The core file is handled separately because it is responsible for creating the temp directory used by check_requirements and thus must always run first and without having its requirements checked. [YOCTO #12949] (From OE-Core rev: f380fac8a43a75861f3157777b12a317b985a5e1) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc.inc')
0 files changed, 0 insertions, 0 deletions