mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 19:23:03 +01:00
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>
33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
MAJOR_VERSION = "2.24"
|
|
require util-linux.inc
|
|
PR = "r1"
|
|
|
|
# To support older hosts, we need to patch and/or revert
|
|
# some upstream changes. Only do this for native packages.
|
|
OLDHOST = ""
|
|
OLDHOST_class-native = "file://util-linux-native.patch \
|
|
file://util-linux-native-qsort.patch \
|
|
"
|
|
|
|
SRC_URI += "file://util-linux-ng-replace-siginterrupt.patch \
|
|
file://util-linux-ng-2.16-mount_lock_path.patch \
|
|
file://uclibc-__progname-conflict.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} \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "3f191727a0d28f7204b755cf1b6ea0aa"
|
|
SRC_URI[sha256sum] = "1243d6c07f1c5b38aa4c3814c81a71c24cba7dafe08942916bf216a90a460ff0"
|
|
|
|
CACHED_CONFIGUREVARS += "scanf_cv_alloc_modifier=ms"
|
|
|
|
EXTRA_OECONF_class-native = "${SHARED_EXTRA_OECONF} \
|
|
--disable-fallocate --disable-use-tty-group \
|
|
"
|
|
EXTRA_OECONF_class-nativesdk = "${SHARED_EXTRA_OECONF} \
|
|
--disable-fallocate --disable-use-tty-group \
|
|
"
|