#!/bin/bash # This script will check if the ARMLT owned repos are in sync between our # locally checked out repo and our upstream remote=${remote:-linaro} function checksync { dir=$1 branch=$2 pushd $dir > /dev/null; git remote update $remote > /dev/null; if [[ `git log --oneline -1 HEAD` != `git log --oneline -1 ${branch}` ]]; then echo $dir is not in sync with upstream branch ${branch}; fi; popd > /dev/null ; } checksync build-scripts $remote/master checksync model-scripts $remote/master checksync ramdisk $remote/master checksync u-boot $remote/master #checksync uefi/edk2 $remote/master #checksync uefi/edk2/OpenPlatformPkg $remote/master checksync vexpress-firmware $remote/master checksync recovery $remote/juno checksync linux $remote/latest-armlt checksync linux $remote/lsk-4.4-armlt