diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-06-22 15:10:58 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-24 12:23:12 +0100 |
commit | a1f79a7896b6411669b3ccada6204d2695e80fc5 (patch) | |
tree | d032e623fd249286bd8966c0409bb66f350638ac /bitbake/lib/bb/build.py | |
parent | d08a341af77ac0ad618d4033a18f33ac1fc98fb2 (diff) | |
download | poky-a1f79a7896b6411669b3ccada6204d2695e80fc5.tar.gz |
runqueue.py: Add umask task control
The umask for a task can now be set as:
task[umask] = 022
task[umask] = '022'
If specified as a text string, it must be octal. (This is due to
recipe parsing where it's always set to a string.)
[RP tweaked to use None instead of -1]
(Bitbake rev: a5caaaaba8f0db1af5d8f2e610021d6d4b56894e)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/build.py')
-rw-r--r-- | bitbake/lib/bb/build.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py index 7947906ab2..f69464c60b 100644 --- a/bitbake/lib/bb/build.py +++ b/bitbake/lib/bb/build.py | |||
@@ -463,6 +463,7 @@ def add_tasks(tasklist, d): | |||
463 | getTask('nostamp') | 463 | getTask('nostamp') |
464 | getTask('fakeroot') | 464 | getTask('fakeroot') |
465 | getTask('noexec') | 465 | getTask('noexec') |
466 | getTask('umask') | ||
466 | task_deps['parents'][task] = [] | 467 | task_deps['parents'][task] = [] |
467 | for dep in flags['deps']: | 468 | for dep in flags['deps']: |
468 | dep = data.expand(dep, d) | 469 | dep = data.expand(dep, d) |