]> code.ossystems Code Review - openembedded-core.git/commit
base.bbclass: Set umask 022 also for do_unpack task
authorMartin Jansa <martin.jansa@gmail.com>
Fri, 22 Nov 2013 21:19:03 +0000 (22:19 +0100)
committerRobert Yang <liezhi.yang@windriver.com>
Sun, 26 Jan 2014 06:07:56 +0000 (14:07 +0800)
commit8ce99fa4e3868450d7339edf5e8e02bd99117893
tree5c023ee8a0c5ebbbc3a660275f506c6793fe3c85
parent33ceb17db1c1cb80492a7d25bc1f95cfe9d7bb76
base.bbclass: Set umask 022 also for do_unpack task

* when git checkouts files from fetched clone it respects system umask
  and creates files with different permissions, if such files are copied
  to packages, resulting target images have also different permissions
  on them.
* we need reproducible builds across different builders with different
  system umask, so set 022 umask

[YOCTO #5590]

(From OE-Core master rev: c9289c506633ffe5c482000d8d225e45454c064d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/base.bbclass