mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
btrfs-tools: fix symlink creation multiple times
The rule to create symlink in Makefile caused parallel issue: $ make -j 40 DESTDIR=/image install BUILD_VERBOSE=1 ... 1 [LN] libbtrfs.so.0 2 [LN] libbtrfs.so 3 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0 4 ln -s -f libbtrfs.so.0.1 libbtrfs.so.0 5 ln -s -f libbtrfs.so.0.1 libbtrfs.so 6 ln -s -f libbtrfs.so.0.1 libbtrfs.so ... It failed occasionally: ... |symlinkat: couldn't stat 'git/libbtrfs.so' even though symlink creation succeeded (No such file or directory). |ln: failed to create symbolic link 'libbtrfs.so': No such file or directory ... (From OE-Core rev: 9409c7e7202fe96b55f44a133ba68690bb192da2) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9af773f1c6
commit
033db243ae
@@ -15,6 +15,7 @@ DEPENDS = "util-linux attr e2fsprogs lzo acl"
|
||||
SRCREV = "21258fab2caeade405a15ba932d373b364aa6e8c"
|
||||
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git \
|
||||
file://fix-parallel.patch \
|
||||
file://fix-symlink-creation-multiple-times.patch \
|
||||
"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
|
||||
Reference in New Issue
Block a user