| Submitter | Robert Yang |
|---|---|
| Date | Aug. 16, 2012, 6:46 a.m. |
| Message ID | <cover.1345084532.git.liezhi.yang@windriver.com> |
| Download | mbox |
| Permalink | /patch/34689/ |
| State | New |
| Headers | show |
Pull-request
git://git.pokylinux.org/poky-contrib robert/whatchangedComments
On Thu, 2012-08-16 at 14:46 +0800, Robert Yang wrote: > Changes of V3: > * Move it from bitbake/bin/ to oe-core/scripts > > * Change BB_STAMPS_DIR to STAMPS_DIR > > * Use "which bitbake-diffsigs" to locate where is the bitbake/lib/bb since it > needs bb.siggen.compare_sigfiles (must) and bb.process.run (optional). > > Changes of V2: > * Fix a typo fn -> 'fn' > > * Use "bitbake -e" rather than "bitbake -e recipe" to get the BB_STAMPS_DIR > > * Use "BB_STAMPS_DIR=<path> bitbake -S recipe" to regenerate the stamps > > * Change the summary format a little, now it looks like: > - (without -v): > === Summary: (3653 changed, 1927 unchanged) > Newly added: 807 > PV changed: 48 > PR changed: 276 > Depends changed: 2522 > > - (with -v): > === Summary: (3653 changed, 1927 unchanged) > Newly added: 807 > Depends changed: 2846 > > Changes of V1: > Initial version I tried this: $ MACHINE=qemux86 bitbake-whatchanged nativesdk-perl Figuring out the STAMPS_DIR ... Generating the new stamps ... (need several minutes) ERROR occurred! Traceback (most recent call last): File "/media/build1/poky/scripts/bitbake-whatchanged", line 342, in <module> sys.exit(main()) File "/media/build1/poky/scripts/bitbake-whatchanged", line 303, in main old_recon = recon_dict(old_dict) File "/media/build1/poky/scripts/bitbake-whatchanged", line 96, in recon_dict if os.stat(full_path_pre).st_mtime > os.stat(full_path_cur).st_mtime: OSError: [Errno 2] No such file or directory: '/media/build1/poky/build/tmp/stamps/armv7a-vfp-neon-poky-linux-gnueabi/bash-4.2-r4.do_compile.sigdata.80ff8a0bb7180f101517f35e8cf4ba8b' and it looks like the environment isn't preserved since this is defaulting to beagleboard which is what is in my local.conf, not the MACHINE=qemux86 I expected. Cheers, Richard
Changes of V3: * Move it from bitbake/bin/ to oe-core/scripts * Change BB_STAMPS_DIR to STAMPS_DIR * Use "which bitbake-diffsigs" to locate where is the bitbake/lib/bb since it needs bb.siggen.compare_sigfiles (must) and bb.process.run (optional). Changes of V2: * Fix a typo fn -> 'fn' * Use "bitbake -e" rather than "bitbake -e recipe" to get the BB_STAMPS_DIR * Use "BB_STAMPS_DIR=<path> bitbake -S recipe" to regenerate the stamps * Change the summary format a little, now it looks like: - (without -v): === Summary: (3653 changed, 1927 unchanged) Newly added: 807 PV changed: 48 PR changed: 276 Depends changed: 2522 - (with -v): === Summary: (3653 changed, 1927 unchanged) Newly added: 807 Depends changed: 2846 Changes of V1: Initial version // Robert The following changes since commit b95356c455ee7611cd3c0a766785a9c13fbe8f69: distro: Remove Pimlico from distro-tracking (2012-08-15 17:51:10 +0100) are available in the git repository at: git://git.pokylinux.org/poky-contrib robert/whatchanged http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/whatchanged Robert Yang (2): bitbake.conf: add STAMPS_DIR for constructing STAMP bitbake-whatchanged: print what is about to happen meta/conf/bitbake.conf | 3 +- scripts/bitbake-whatchanged | 342 ++++++++++++++++++++++++++++++++++++++++++ scripts/oe-buildenv-internal | 5 +- 3 files changed, 348 insertions(+), 2 deletions(-) create mode 100755 scripts/bitbake-whatchanged