]> code.ossystems Code Review - openembedded-core.git/commit
initscripts: don't bg mk_dirs in populate-volatile
authorChristopher Larson <chris_larson@mentor.com>
Fri, 20 Jul 2012 17:05:03 +0000 (10:05 -0700)
committerSaul Wold <sgw@linux.intel.com>
Wed, 25 Jul 2012 07:11:37 +0000 (00:11 -0700)
commit138c3c26830e48a56ca7cb3e5feca324d13ec89c
tree519a034872bdccd3d6f18c8334c9c10796fb762b
parent4148bc80c008d25c8a536c7c7dfdeac1669a6662
initscripts: don't bg mk_dirs in populate-volatile

If a directory needs to be created to create something else in volatiles,
there's no guarantees on ordering due to the backgrounding. We can't guarantee
with certainty that the create directory commands are complete before the
later ones run. This ensures that we wait for directory creations to complete
before we proceed.

Chris Hallinan hit an actual failure due to this back in March of last year.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initscripts/initscripts-1.0/populate-volatile.sh
meta/recipes-core/initscripts/initscripts_1.0.bb