1
0
mirror of https://git.yoctoproject.org/poky synced 2026-07-26 07:07:08 +00:00

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>
This commit is contained in:
Chen Qi
2014-05-08 16:31:52 +08:00
committed by Richard Purdie
parent bcb30d84f9
commit c05066e00c
2 changed files with 35 additions and 0 deletions
@@ -15,6 +15,7 @@ SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
file://configure-sbindir.patch \
file://fix-configure.patch \
file://fix-parallel-build.patch \
file://util-linux-ensure-the-existence-of-directory-for-PAT.patch \
${OLDHOST} \
"