poky/meta/classes-global
Rasmus Villemoes ba290e7ec8 sstate: apply proper umask when fetching from SSTATE_MIRROR
Currently, files and directories created under ${SSTATE_DIR} when
fetching from an sstate mirror are not created with group write,
unlike when the sstate artifacts are generated locally. That's
inconsistent, and problematic when the local sstate dir is shared
among multiple users.

Wrap the fetching in a bb.utils.umask() context manager, and for simplicity
move the mkdir of SSTATE_DIR inside that.

(From OE-Core rev: a6038553aaef3b88b834a09018c524c4fa41e625)

Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-06-26 11:02:34 +01:00
..
base.bbclass base.bbclass: drop compatibility moving of sources into workdir 2025-06-20 12:07:27 +01:00
buildstats.bbclass buildstats: Avoid rare UnboundLocalError 2025-03-03 18:01:29 +00:00
debian.bbclass package/package_write: Improve packagedata code location 2023-11-08 10:56:35 +00:00
devshell.bbclass devshell: Do not add scripts/git-intercept to PATH 2023-02-10 09:25:44 +00:00
insane.bbclass insane/do_qa_unpack: add checks that ensure S is set correctly 2025-06-20 12:07:26 +01:00
license.bbclass bitbake.conf/pseudo: Switch from exclusion list to inclusion list 2025-05-12 22:01:56 +01:00
logging.bbclass classes/logging: Added the bbverbnote command to the logging set 2025-01-20 13:38:59 +00:00
mirrors.bbclass mirrors: rationalise Debian mirrors 2025-03-06 11:16:46 +00:00
package_deb.bbclass package/package_write: Improve packagedata code location 2023-11-08 10:56:35 +00:00
package_ipk.bbclass package_ipk: Use preferred form of --force-postinstall 2025-02-11 11:44:19 +00:00
package_pkgdata.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
package_rpm.bbclass package_rpm: set a timestamp handling policy with the new macro %build_mtime_policy 2025-01-04 12:34:04 +00:00
package.bbclass lib/package: Check incompatible licenses at packaging time 2024-10-25 15:37:10 +01:00
packagedata.bbclass classes: Update classes to match new bitbake class scope functionality 2022-08-12 15:27:17 +01:00
patch.bbclass patch.bbclass: Make use of oe.patch.GitApplyTree.commitIgnored() 2024-02-19 16:03:22 +00:00
retain.bbclass classes: add new retain class for retaining build results 2024-08-03 07:56:10 +01:00
sanity.bbclass bitbake.conf/pseudo: Switch from exclusion list to inclusion list 2025-05-12 22:01:56 +01:00
sstate.bbclass sstate: apply proper umask when fetching from SSTATE_MIRROR 2025-06-26 11:02:34 +01:00
staging.bbclass classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) 2025-01-21 23:09:33 +00:00
uninative.bbclass uninative: show errors if installing fails 2025-04-29 09:55:32 +01:00
utility-tasks.bbclass classes/utility-tasks: port do_listtasks to use bb.build.listtasks 2024-12-12 13:31:27 +00:00
utils.bbclass kernel-yocto: make kernel commits reproducible 2025-01-21 13:26:07 +00:00
yocto-check-layer.bbclass classes/yocto-check-layer: add check for tasks that allow network access 2025-05-05 17:22:11 +01:00