blob: e2c4b1a62baddbb75890ae377343e52c5307a334 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
# Cronjob which can be run weekly to run the upgrade helper script.
# Add the job in /etc/crontab like below.
#
# It will execute weekly at the same hour (8 AM).
#
# 00 8 * * 6 auh /home/auh/bin/weeklyjob.sh
auh_dir=~/auto-upgrade-helper
poky_dir=~/poky
build_dir=~/build
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/ auh@downloads.yoctoproject.org::auh/
|