]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
pciutils: work around pseudo symlink creation race
authorRoss Burton <ross.burton@arm.com>
Wed, 19 Mar 2025 14:23:10 +0000 (14:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Mar 2025 11:29:00 +0000 (11:29 +0000)
commita5fc49fafe910a25be7372c82bfbd7876871ce3f
treeacd777bbebed328994e1e69558202f56cf0df530
parentc9d3a47a19babfe88f0174233729394292a31726
pciutils: work around pseudo symlink creation race

Richard managed to reproduce a pseudo bug that pciutils in a minimal
test case[1] which confirmed that it was the symlink creation causing
issues.

The pciutils Makefile has several installation targets:
- install: binaries, manpages, shared library
- install-lib: headers, library symlinks, shared library

We need to run both targets to install the full set of files we want to
be installed, but notably they both create the .so symlink and as they're
running in parallel this is what triggers the bug in pseudo.

Until the bug has been resolved (or the Makefiles don't duplicate rules),
just run the two targets separately.

[ YOCTO #14957 ]

[1] https://lore.kernel.org/openembedded-core/20250319133457.806384-1-richard.purdie@linuxfoundation.org/T/#u

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/pciutils/pciutils_3.13.0.bb