summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-21 14:39:47 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-11-24 10:27:45 +0000
commit670b1be774e19bbc0d4a93f4b7c1c5ba9efa7374 (patch)
treeb3be8a14c3638f2ce893f43cfbde0edc7dbea473 /meta/classes/package.bbclass
parent640c718c11028fdf233d72ef0289e2ed5cf62144 (diff)
downloadpoky-670b1be774e19bbc0d4a93f4b7c1c5ba9efa7374.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e6236c0bb2..247bdc7bbf 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -2340,7 +2340,7 @@ python do_package () {
2340 # cache. This is useful if an item this class depends on changes in a 2340 # cache. This is useful if an item this class depends on changes in a
2341 # way that the output of this class changes. rpmdeps is a good example 2341 # way that the output of this class changes. rpmdeps is a good example
2342 # as any change to rpmdeps requires this to be rerun. 2342 # as any change to rpmdeps requires this to be rerun.
2343 # PACKAGE_BBCLASS_VERSION = "2" 2343 # PACKAGE_BBCLASS_VERSION = "4"
2344 2344
2345 # Init cachedpath 2345 # Init cachedpath
2346 global cpath 2346 global cpath