diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-29 11:22:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-29 11:24:48 +0000 |
commit | 7b9f4b2cd0fe6dc9a536a2db98ed93ffa8c05a8f (patch) | |
tree | 6c9c5a15ecf63cc65680aecece7c427f289c7f74 /meta/classes | |
parent | 80d522a5bc694fdb8b8a53ad4aa36410f3612c6b (diff) | |
download | poky-7b9f4b2cd0fe6dc9a536a2db98ed93ffa8c05a8f.tar.gz |
base/gcc-common: Ensure umask setting is consistent for shared workdir
gcc has cross and target components with a shared workdir. The unpack umask
settings need to match for all of these. We need to use strings in each
case to ensure the sstate code matches them correctly.
This patch tweaks various things to ensure the change adding the unpack umask
change doesn't break the compiler builds.
(From OE-Core rev: 67162438ee9c402b23c32853af9d313949eb6e4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/base.bbclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 1f3249d248..73920fde47 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -485,15 +485,15 @@ python () { | |||
485 | # If we're building a target package we need to use fakeroot (pseudo) | 485 | # If we're building a target package we need to use fakeroot (pseudo) |
486 | # in order to capture permissions, owners, groups and special files | 486 | # in order to capture permissions, owners, groups and special files |
487 | if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): | 487 | if not bb.data.inherits_class('native', d) and not bb.data.inherits_class('cross', d): |
488 | d.setVarFlag('do_unpack', 'umask', 022) | 488 | d.setVarFlag('do_unpack', 'umask', '022') |
489 | d.setVarFlag('do_configure', 'umask', 022) | 489 | d.setVarFlag('do_configure', 'umask', '022') |
490 | d.setVarFlag('do_compile', 'umask', 022) | 490 | d.setVarFlag('do_compile', 'umask', '022') |
491 | d.appendVarFlag('do_install', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') | 491 | d.appendVarFlag('do_install', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') |
492 | d.setVarFlag('do_install', 'fakeroot', 1) | 492 | d.setVarFlag('do_install', 'fakeroot', 1) |
493 | d.setVarFlag('do_install', 'umask', 022) | 493 | d.setVarFlag('do_install', 'umask', '022') |
494 | d.appendVarFlag('do_package', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') | 494 | d.appendVarFlag('do_package', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') |
495 | d.setVarFlag('do_package', 'fakeroot', 1) | 495 | d.setVarFlag('do_package', 'fakeroot', 1) |
496 | d.setVarFlag('do_package', 'umask', 022) | 496 | d.setVarFlag('do_package', 'umask', '022') |
497 | d.setVarFlag('do_package_setscene', 'fakeroot', 1) | 497 | d.setVarFlag('do_package_setscene', 'fakeroot', 1) |
498 | d.appendVarFlag('do_package_setscene', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') | 498 | d.appendVarFlag('do_package_setscene', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') |
499 | d.setVarFlag('do_devshell', 'fakeroot', 1) | 499 | d.setVarFlag('do_devshell', 'fakeroot', 1) |