[OE-core] [PATCH] initscripts: populate-volatiles: Speed up processing

Richard Purdie richard.purdie at linuxfoundation.org
Fri Oct 12 07:33:43 UTC 2018


On Thu, 2018-10-11 at 13:08 -0500, Joshua Watt wrote:
> 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.
> 
> [YOCTO #12949]
> 
> Signed-off-by: Joshua Watt <JPEWhacker at gmail.com>

As yet I little evidence for it but I think this caused: 


https://autobuilder.yoctoproject.org/typhoon/#/builders/35/builds/69/steps/7/logs/step6c

You can see the config in:


https://autobuilder.yoctoproject.org/typhoon/#/builders/35/builds/69/steps/7/logs/stdio

the key bits for 6c are:

DISTRO_FEATURES_append = ' systemd'
VIRTUAL-RUNTIME_init_manager = 'sysvinit'

Cheers,

Richard




More information about the Openembedded-core mailing list