Signed-off-by: Alexander Kanavin <alexander.kana...@linux.intel.com> --- weeklyjob.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/weeklyjob.sh b/weeklyjob.sh index e2c4b1a..8dd0a1c 100755 --- a/weeklyjob.sh +++ b/weeklyjob.sh @@ -7,11 +7,23 @@ # # 00 8 * * 6 auh /home/auh/bin/weeklyjob.sh +# Re-assign these to match your setup! auh_dir=~/auto-upgrade-helper poky_dir=~/poky build_dir=~/build +sstate_dir=~/sstate-cache + +pushd $poky_dir + +# Base the upgrades on poky master +git fetch origin +git checkout -B tmp-auh-upgrades origin/master source $poky_dir/oe-init-build-env $build_dir $auh_dir/upgradehelper.py all -#/usr/bin/rsync --delete --password-file /home/auh/rsync.passwd --copy-unsafe-links -zaHS /home/auh/work/ a...@downloads.yoctoproject.org::auh/ +# clean up to avoid the disk filling up +rm -rf $build_dir/tmp/ +find $sstate_dir -atime +10 -delete + +popd -- 2.15.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto