[oe] [PATCH] Apache2: Add libselinux dependency and Disable parallel install

Chris Larson clarson at kergoth.com
Wed Nov 7 16:46:12 UTC 2012


On Tue, Nov 6, 2012 at 10:57 PM, <rongqing.li at windriver.com> wrote:

> 2. Disable parallel make install
> apache2 supports parallel make install, before installation,
> it will firstly call build/mkdir.sh to create needed directories.
> build/mkdir.sh first checks if a directory exists or not, if not,
> it will create this directory, when mkdir.sh is called by many
> instances parallel, it will introduce race, namely the result of
> checking says one directory does not exist, but when it tries to
> mkdir, this directory has been created by other instance.
>

How much work would it be to change it to run 'mkdir -p' rather than
build/mkdir.sh, e.g. via a variable in EXTRA_OEMAKE?
-- 
Christopher Larson



More information about the Openembedded-devel mailing list