util-linux: fix parallel build issure for PATHFILES
authorChen Qi <Qi.Chen@windriver.com>
Thu, 8 May 2014 08:31:52 +0000 (16:31 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 May 2014 11:27:21 +0000 (12:27 +0100)
commit837a70d31e6ce74fae4f6d8eebe4ceec5cd6cfb4
tree5dc712babd5a1e4ecf99af3772c17097752888c7
parente49f6e5777d26b6d37f8e685c264a2f5347a4f05
util-linux: fix parallel build issure for PATHFILES

When compiling util-linux, it's possible to encounter the following error.

     /bin/sh: line 2:: misc-utils/uuidd.8.tmp: No such file or directory

This is because that the misc-utils directory doesn't exist when trying to
write to misc-utils/uuidd.8.tmp.

When generating misc-utils/uuidd.8 (or anything in PATHFILES), its directory
may not have been created yet. So we need to ensure the existence of the
directory to avoid the compilation error.

[YOCTO #6292]

(From OE-Core rev: b8c0a4f6a319a7cf84530b891707a5887f3caaf4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/util-linux/util-linux/util-linux-ensure-the-existence-of-directory-for-PAT.patch [new file with mode: 0644]
meta/recipes-core/util-linux/util-linux_2.24.2.bb