mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
e2fsprogs: Fix a ptest permissions determinism issue
When comparing builds built with different host umasks, this file jumped out.
The umask from do_compile was influencing ${D} and as cp was used to add the
file it wasn't deterministic. Fix the file mode to ensure determinism.
(From OE-Core rev: b99796ec9436b63e4fc7cb7d12c0c9bcceef5d4b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37f37f4a52de3711973b372160f23672b61ff6ad)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
cbd023e0db
commit
3f2bc0a2e1
|
|
@ -125,6 +125,8 @@ do_compile_ptest() {
|
|||
}
|
||||
|
||||
do_install_ptest() {
|
||||
# This file's permissions depends on the host umask so be deterministic
|
||||
chmod 0644 ${B}/tests/test_data.tmp
|
||||
cp -R --no-dereference --preserve=mode,links -v ${B}/tests ${D}${PTEST_PATH}/test
|
||||
cp -R --no-dereference --preserve=mode,links -v ${S}/tests/* ${D}${PTEST_PATH}/test
|
||||
sed -e 's!../e2fsck/e2fsck!e2fsck!g' \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user