]> code.ossystems Code Review - openembedded-core.git/commit
fs-perms: Ensure /usr/src/debug/ file modes are correct
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 21 Nov 2020 14:39:47 +0000 (14:39 +0000)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 25 Nov 2020 15:05:15 +0000 (23:05 +0800)
commit1f807da38b9d9aebdd86b3b5839305e03d9930e1
treef3f6330e5dd5e7fe66b2b7dbed2e2277e37bef6b
parent4c33ce1b1eca9aff0009bf71ce50f6398f7cd281
fs-perms: Ensure /usr/src/debug/ file modes are correct

If files are copied into /usr/src/debug directly from WORKDIR (e.g. makedevs)
we'd get the permissions from the checkout which would depend on the host umask.

Avoid this and be deterministic by setting the file modes consistently. Core
code copies the files in so we're responsible for the permissions.

Unfortunately to force this change to apply we need to invalidate both
the package tasks and the hash equivalance mappings since file mode
'corruption' already made it into the output hashes (both input options
were mapped to the output hashes).

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1f958bcd6c9cd12ec76d80586cba15f4d6ed17a7)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/package.bbclass
meta/conf/abi_version.conf
meta/files/fs-perms-persistent-log.txt
meta/files/fs-perms.txt