aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/texi2html
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-08-02 18:14:39 -0700
committerRobert Yang <liezhi.yang@windriver.com>2016-08-03 01:36:51 -0700
commit6141d2a658da395913a3b7b6fbf9a5ddf012c2a3 (patch)
treefb398418385cd6de6d5063ae93ba40cbb9003804 /meta/recipes-extended/texi2html
parent986f7fbe37a48d050611f08f7160ed96755ac3dc (diff)
downloadopenembedded-core-contrib-rbt/mode.tar.gz
package.bbclass: remove unneeded chmod() and chown()rbt/mode
* The mode and owner info are saved in inode, hardlink won't change them, so remove unneeded chmod() and chown(). * This can avoid the problem that when do_package re-run, the file's mode maybe different if it is 0444 (changed to 0644 when re-run), this is caused by pseudo adds 'w' on real file, and doesn't track linked source when hard link, Peter and Mark may fix pseudo, but the removed code is not needed, which can avoid the problem. * To reproduce the problem, for example, version.c from gzip's ${B}: 1) bitbake gzip 2) Edit rpm-native or package.bbclass to make do_package re-run. 3) bitbake gzip After the first build, build/version.c in gzip-dbg is 0444, but after the second build, it will be 0644, this because do_package does: $ ln ${B}/version.c gzip-dbg/version.c, $ chmod 0444 gzip-dbg/version.c (it runs chmod 0644 on the real filesystem) And in the second build, the gzip-dbg/version.c will be removed and created again, so that stat() can't get 0444 but 0644 since ${B}/version.c is not tracked by pseudo. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-extended/texi2html')
0 files changed, 0 insertions, 0 deletions