Commit Graph

4 Commits

Author SHA1 Message Date
Martin Jansa 7e4a616ec4 mavlink: set fixed SRCREV instead of tag name and define PV
* otherwise bitbake fetcher will access the network every time the
  recipes is parsed to convert tag name in SRCREV to git SHA and
  then again during do_fetch and do_unpack:

  log.do_fetch:
  DEBUG: Fetcher accessed the network with the command git -c core.fsyncobjectfiles=0 ls-remote git://github.com/mavlink/mavlink-gbp-release.git
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/mavlink/mavlink-gbp-release.git
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 branch --contains 7dbef3644782a4297fec76a4a2f7a61705dd624d --list release/kinetic/mavlink 2> /dev/null | wc -l

  log.do_unpack:
  DEBUG: Fetcher accessed the network with the command git -c core.fsyncobjectfiles=0 ls-remote git://github.com/mavlink/mavlink-gbp-release.git
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 ls-remote git://github.com/mavlink/mavlink-gbp-release.git
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 clone -s -n /OE/build/oe-core/downloads/git2/github.com.mavlink.mavlink-gbp-release.git/ /OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/git/
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 remote set-url origin git://github.com/mavlink/mavlink-gbp-release.git
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 checkout -B release/kinetic/mavlink 7dbef3644782a4297fec76a4a2f7a61705dd624d
  DEBUG: Running export PSEUDO_DISABLED=1; export PATH="/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/python-native:/OE/build/oe-core/openembedded-core/scripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot/usr/bin/crossscripts:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/usr/bin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/sbin:/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/mavlink/git-r0/recipe-sysroot-native/bin:/OE/build/oe-core/bitbake/bin:/OE/build/oe-core/tmp-glibc/hosttools"; export HOME="/OE"; git -c core.fsyncobjectfiles=0 branch release/kinetic/mavlink --set-upstream-to origin/release/kinetic/mavlink

* set PV according to PROJECT_VERSION in CMakeLists.txt, because current
  version "git-r0" is quite annoying and doesn't really sort well when doing
  the package upgrades on target MACHINE

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2018-08-24 19:47:42 +00:00
Lukas Bulwahn c747482afa clean up to prepare merging content from #519
This commit includes:

  - use `DEPENDS =` instead of `DEPENDS +=`.
  - put single-line configurations into a single line
  - move DEPENDS to right location in recipe files
  - remove superfluous ROS_SPN declarations

The clean up was motivated by the commits for
object-recognition-msgs and hector-mapping in #519.

Issues were identified with `grep "DEPENDS +=" . -R` and by looking
at the output of oe-stylize.py with this bash script:

```

for RECIPE in $(find . -name *.bb)
do
        echo "Processing: $RECIPE"
        ~/work/repositories/openembedded.org/meta-openembedded/contrib/oe-stylize.py $RECIPE > $RECIPE-oestylize
        diff $RECIPE $RECIPE-oestylize
done
```

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
2017-11-25 13:55:56 +01:00
Dmitry Rozhkov 068d91088e mavlink: set git revision to release/kinetic/mavlink/2017.8.8-0
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
2017-08-30 10:30:55 +03:00
Lukas Bulwahn 5fc0e95da0 rename ros-mavlink to mavlink 2017-05-07 08:05:55 +02:00