2018-05-06 17:23:31 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
SCRIPTDIR=$(cd $(dirname "${BASH_SOURCE[0]}") && pwd)
|
|
|
|
|
|
|
|
# dummy toolchain variables
|
2019-04-18 18:37:18 +02:00
|
|
|
PREFERED_PROVIDER[linux]="linux-lts"
|
2018-09-27 23:51:15 +02:00
|
|
|
export LAYERCONF=""
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
# utilities
|
|
|
|
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"
|
2020-04-12 03:17:03 +02:00
|
|
|
source "$SCRIPTDIR/util/emptypkg.sh"
|
2018-05-06 17:23:31 +02:00
|
|
|
source "$pkg/build"
|
|
|
|
|
|
|
|
version=$(check_update)
|
|
|
|
if [ ! -z $version ]; then
|
|
|
|
echo "$name has newer version: $version"
|
|
|
|
fi
|
|
|
|
done
|