diff options
author | Ross Burton <ross.burton@intel.com> | 2012-11-28 17:28:39 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-13 15:21:43 +0000 |
commit | df91eb02780631b0177d7975da0c39e0b716f5fc (patch) | |
tree | cc87a63f66535ab1e66ad51132b5d4166d76e3e0 /meta/recipes-devtools/patch/patch_2.5.9.bb | |
parent | 1c4372217d94c7858e5f058f5390922ffb60cda2 (diff) | |
download | poky-df91eb02780631b0177d7975da0c39e0b716f5fc.tar.gz |
guile: touch compiled modules on sstate install
When guile is installed from sstate, if the compiled files get a modified time
older than the source files then guile will produce warnings like this:
;;; note: source file /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/ice-9/boot-9.scm
;;; newer than compiled /data/poky-master/tmp/sysroots/x86_64-linux/usr/lib/guile/2.0/ccache/ice-9/boot-9.go
Not staging the files and letting guile re-compile them on demand won't work:
;;; compiling /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; it seems /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/guile/2.0/system/base/compile.scm
;;; is part of the compiler; skipping auto-compilation
So, use a sstate postinst function to explicitly touch the compiled files after
the extraction to ensure that they are fresher.
[ YOCTO #3370 ]
(From OE-Core rev: 1e96fea6c603a500e21b9cd4626ecd19049bf04b)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/patch/patch_2.5.9.bb')
0 files changed, 0 insertions, 0 deletions