2018-05-06 17:23:31 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
SCRIPTDIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
|
|
|
|
|
|
|
# dummy toolchain variables
|
|
|
|
export LINUXPKG="linux"
|
2018-09-27 23:51:15 +02:00
|
|
|
export LAYERCONF=""
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
# utilities
|
|
|
|
source "$SCRIPTDIR/util/depends.sh"
|
|
|
|
source "$SCRIPTDIR/util/version.sh"
|
2018-05-10 14:42:43 +02:00
|
|
|
source "$SCRIPTDIR/util/override.sh"
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
# check all packages
|
|
|
|
for pkg in $SCRIPTDIR/pkg/*; do
|
|
|
|
[ -d $pkg ] || continue;
|
|
|
|
|
|
|
|
name=$(basename $pkg)
|
|
|
|
echo "-- checking $name"
|
|
|
|
source "$pkg/build"
|
|
|
|
|
|
|
|
version=$(check_update)
|
|
|
|
if [ ! -z $version ]; then
|
|
|
|
echo "$name has newer version: $version"
|
|
|
|
fi
|
|
|
|
done
|