mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
fix-configure.patch is removed as it's not appropriate, and the new version of util-linux has solved the problem this patch is trying to solve. util-linux-ensure-the-existence-of-directory-for-PAT.patch is removed as the new version of util-linux has solved the problem this patch is trying to solve. util-linux-native.patch is rebased. util-linux-ng-replace-siginterrupt.patch is rebased. Add PACKAGECONFIG for 'pylibmount' to build out python bindings for libmount optionally. util-linux-pylibmount is added to PACKAGES if PACKAGECONFIG has 'pylibmount' in it. Fix PACAGECONFIG for 'systemd' as the new version has changed things related to systemd. Now util-linux would have a dependency on systemd if 'systemd' is in PACKAGECONFIG. Fix SYSTEMD_PACKAGES, SYSTEMD_SERVICE and SYSTEMD_AUTO_ENABLE variable to match the new version. Four lines in do_compile task are deleted because they caused do_compile failure and nowhere in util-linux are they used. Corresponding files are also removed. (From OE-Core rev: 264e2fde3a8624c87d2451d2752c9f3ed8911672) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
31 lines
1.0 KiB
BlitzBasic
31 lines
1.0 KiB
BlitzBasic
MAJOR_VERSION = "2.25"
|
|
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-parallel-build.patch \
|
|
${OLDHOST} \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "cab3d7be354000f629bc601238b629b3"
|
|
SRC_URI[sha256sum] = "e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6"
|
|
|
|
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 \
|
|
"
|