summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sstate.bbclass2
-rw-r--r--meta/conf/abi_version.conf2
-rw-r--r--meta/lib/oe/sstatesig.py27
3 files changed, 16 insertions, 15 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 7f4b1f6804..860122a0cd 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -1,4 +1,4 @@
1SSTATE_VERSION = "5" 1SSTATE_VERSION = "6"
2 2
3SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control" 3SSTATE_MANIFESTS ?= "${TMPDIR}/sstate-control"
4SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}" 4SSTATE_MANFILEPREFIX = "${SSTATE_MANIFESTS}/manifest-${SSTATE_MANMACH}-${PN}"
diff --git a/meta/conf/abi_version.conf b/meta/conf/abi_version.conf
index e84cad1019..62714f5e61 100644
--- a/meta/conf/abi_version.conf
+++ b/meta/conf/abi_version.conf
@@ -12,4 +12,4 @@ OELAYOUT_ABI = "14"
12# a reset of the equivalence, for example when reproducibility issues break the 12# a reset of the equivalence, for example when reproducibility issues break the
13# existing match data. Distros can also append to this value for the same effect. 13# existing match data. Distros can also append to this value for the same effect.
14# 14#
15HASHEQUIV_HASH_VERSION = "8" 15HASHEQUIV_HASH_VERSION = "9"
diff --git a/meta/lib/oe/sstatesig.py b/meta/lib/oe/sstatesig.py
index 0c3b4589c5..c2e3e2f4f5 100644
--- a/meta/lib/oe/sstatesig.py
+++ b/meta/lib/oe/sstatesig.py
@@ -552,21 +552,22 @@ def OEOuthashBasic(path, sigfile, task, d):
552 else: 552 else:
553 add_perm(stat.S_IXUSR, 'x') 553 add_perm(stat.S_IXUSR, 'x')
554 554
555 add_perm(stat.S_IRGRP, 'r') 555 if include_owners:
556 add_perm(stat.S_IWGRP, 'w') 556 # Group/other permissions are only relevant in pseudo context
557 if stat.S_ISGID & s.st_mode: 557 add_perm(stat.S_IRGRP, 'r')
558 add_perm(stat.S_IXGRP, 's', 'S') 558 add_perm(stat.S_IWGRP, 'w')
559 else: 559 if stat.S_ISGID & s.st_mode:
560 add_perm(stat.S_IXGRP, 'x') 560 add_perm(stat.S_IXGRP, 's', 'S')
561 else:
562 add_perm(stat.S_IXGRP, 'x')
561 563
562 add_perm(stat.S_IROTH, 'r') 564 add_perm(stat.S_IROTH, 'r')
563 add_perm(stat.S_IWOTH, 'w') 565 add_perm(stat.S_IWOTH, 'w')
564 if stat.S_ISVTX & s.st_mode: 566 if stat.S_ISVTX & s.st_mode:
565 update_hash('t') 567 update_hash('t')
566 else: 568 else:
567 add_perm(stat.S_IXOTH, 'x') 569 add_perm(stat.S_IXOTH, 'x')
568 570
569 if include_owners:
570 try: 571 try:
571 update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name) 572 update_hash(" %10s" % pwd.getpwuid(s.st_uid).pw_name)
572 update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name) 573 update_hash(" %10s" % grp.getgrgid(s.st_gid).gr_name)