Patchwork scripts: Update after addtion of parameter to bitbake -S

login
register
mail settings
Submitter Richard Purdie
Date March 26, 2014, 1:48 p.m.
Message ID <1395841686.24890.94.camel@ted>
Download mbox | patch
Permalink /patch/69275/
State New
Headers show

Comments

Richard Purdie - March 26, 2014, 1:48 p.m.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/scripts/bitbake-whatchanged b/scripts/bitbake-whatchanged
index 90ad2f8..e4497e0 100755
--- a/scripts/bitbake-whatchanged
+++ b/scripts/bitbake-whatchanged
@@ -272,7 +272,7 @@  Note:
     try:
         # Generate the new stamps dir
         print("Generating the new stamps ... (need several minutes)")
-        cmdline = "STAMPS_DIR=%s bitbake -S %s" % (new_stampsdir, recipe)
+        cmdline = "STAMPS_DIR=%s bitbake -S none %s" % (new_stampsdir, recipe)
         # FIXME
         # The "bitbake -S" may fail, not fatal error, the stamps will still
         # be generated, this might be a bug of "bitbake -S".
diff --git a/scripts/sstate-diff-machines.sh b/scripts/sstate-diff-machines.sh
index 931f9d7..860be73 100755
--- a/scripts/sstate-diff-machines.sh
+++ b/scripts/sstate-diff-machines.sh
@@ -98,7 +98,7 @@  OUTPUT=${tmpdir}/sstate-diff/`date "+%s"`
 for M in ${machines}; do
   find ${tmpdir}/stamps/ -name \*sigdata\* | xargs rm -f
   mkdir -p ${OUTPUT}/${M}
-  export MACHINE=${M}; bitbake -S ${targets} | tee -a ${OUTPUT}/${M}/log;
+  export MACHINE=${M}; bitbake -S none ${targets} | tee -a ${OUTPUT}/${M}/log;
   cp -ra ${tmpdir}/stamps/* ${OUTPUT}/${M}
   find ${OUTPUT}/${M} -name \*sigdata\* | sed "s#${OUTPUT}/${M}/##g" | sort > ${OUTPUT}/${M}/list
   M_UNDERSCORE=`echo ${M} | sed 's/-/_/g'`