From 670b1be774e19bbc0d4a93f4b7c1c5ba9efa7374 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 21 Nov 2020 14:39:47 +0000 Subject: 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). (From OE-Core rev: 1f958bcd6c9cd12ec76d80586cba15f4d6ed17a7) Signed-off-by: Richard Purdie --- meta/files/fs-perms-persistent-log.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/files/fs-perms-persistent-log.txt') diff --git a/meta/files/fs-perms-persistent-log.txt b/meta/files/fs-perms-persistent-log.txt index 3a7cf3ab94..518c1be3c9 100644 --- a/meta/files/fs-perms-persistent-log.txt +++ b/meta/files/fs-perms-persistent-log.txt @@ -41,7 +41,7 @@ ${includedir} 0755 root root true 0644 root root ${oldincludedir} 0755 root root true 0644 root root # Cleanup debug src -/usr/src/debug 0755 root root true - root root +/usr/src/debug 0755 root root true 0644 root root # Items from base-files # Links -- cgit v1.2.3-54-g00ecf