]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
unfs3: Fix utime for symlink in attr.c
authorRui Wang <rui.wang@windriver.com>
Fri, 12 Oct 2018 02:51:36 +0000 (10:51 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Oct 2018 15:57:21 +0000 (16:57 +0100)
commit48df61b17167e266c0c7d6d37c6ecfb1caeb1516
treeaf3950139402ab18b27c4ce0a86ae570e2a1c42a
parenta73c92e30b24585ff82bce3555a260ab7c24af80
unfs3: Fix utime for symlink in attr.c

unfs3 has an old defect that it can not change the timestamps of a
symlink file because it only uses utime(), which will follow the
symlink. This will not cause an error if the symlink points to an
existent file but can be triggered with rpm workflows.

Making unfs3 support lutimes() addresses this problem.

(From OE-Core rev: 244a5be0eab31310b8717ab6b713c2902def4e0c)

Signed-off-by: Rui Wang <rui.wang@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/unfs3/unfs3/0001-attr-fix-utime-for-symlink.patch [new file with mode: 0644]
meta/recipes-devtools/unfs3/unfs3_0.9.22.r497.bb