]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1
authorChen Qi <Qi.Chen@windriver.com>
Thu, 11 Jul 2024 07:56:35 +0000 (00:56 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 13 Jul 2024 22:25:25 +0000 (23:25 +0100)
commit2c5f70e7e73362502a7d8d0773fbd04520b26eef
treeab4fac3019643da5b4f83232c22a00af45d97ab4
parentc3f53f641d04109bf88e51e44debb6c74582b5d0
util-linux/util-linux-libuuid: upgrade from 2.39.3 to 2.40.1

License-Update:
===============
GPL-2.0 is changed to GPL-2.0-only in README.licensing.

The following two patches are removed as they've been there in new release:

  0001-login-utils-include-libgen.h-for-basename-API.patch
  mit-license.patch

Other existing patches are refreshed to avoid patch-fuzz error.

A new PACKAGECONFIG, lastlog2, is added, which serves as a switch to build Y2038
safe lastlog pam module. This is a new functionality added in 2.40.

This 2.40.1 version has the problem of unnecessary remake, causing
intermmittent errors at parallel make. The do_compile:prepend is a
workaround for this. Upstream issue and PR are:
https://github.com/util-linux/util-linux/issues/3061
https://github.com/util-linux/util-linux/pull/3064

do_install is changed to do_install:append, the legacy codes are
removed. They've been there since the born of oe-core. I tested
with ccache, there's no error.

A new dependency, diffutils, is added to ptest. Because the mkswap-offset
test case needs 'cmp' from diffutils.

The tests/ts/misc/enosys test case is deleted for musl. This is because
the test case is comparing error description output and that's libc
specific. Results below can demonstrate the case.
'''
root@qemux86-64:/usr/lib/util-linux/ptest# cat /usr/lib/util-linux/ptest/tests/expected/misc/enosys-ioctl
test_enosys: ioctl r=0 errno=Success
test_enosys: ioctl r=-1 errno=Function not implemented
test_enosys: ioctl r=-1 errno=Inappropriate ioctl for device
test_enosys: ioctl r=-1 errno=Inappropriate ioctl for device
test_enosys: ioctl r=-1 errno=Function not implemented
root@qemux86-64:/usr/lib/util-linux/ptest# cat /usr/lib/util-linux/ptest/tests/output/misc/enosys-ioctl
test_enosys: ioctl r=0 errno=No error information
test_enosys: ioctl r=-1 errno=Function not implemented
test_enosys: ioctl r=-1 errno=Not a tty
test_enosys: ioctl r=-1 errno=Not a tty
test_enosys: ioctl r=-1 errno=Function not implemented
'''

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-libuuid_2.40.1.bb [moved from meta/recipes-core/util-linux/util-linux-libuuid_2.39.3.bb with 100% similarity]
meta/recipes-core/util-linux/util-linux.inc
meta/recipes-core/util-linux/util-linux/0001-login-utils-include-libgen.h-for-basename-API.patch [deleted file]
meta/recipes-core/util-linux/util-linux/avoid_parallel_tests.patch
meta/recipes-core/util-linux/util-linux/configure-sbindir.patch
meta/recipes-core/util-linux/util-linux/display_testname_for_subtest.patch
meta/recipes-core/util-linux/util-linux/mit-license.patch [deleted file]
meta/recipes-core/util-linux/util-linux/ptest.patch
meta/recipes-core/util-linux/util-linux_2.40.1.bb [moved from meta/recipes-core/util-linux/util-linux_2.39.3.bb with 94% similarity]