We run AUH from the autobuilder and we don't need the cron script any more,
we'd point people at the scripts there instead.

Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org>
---
 weeklyjob.sh | 30 ------------------------------
 1 file changed, 30 deletions(-)
 delete mode 100755 weeklyjob.sh

diff --git a/weeklyjob.sh b/weeklyjob.sh
deleted file mode 100755
index 94598a2..0000000
--- a/weeklyjob.sh
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/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
-
-# Re-assign these to match your setup!
-auh_dir=~/auto-upgrade-helper
-poky_dir=~/poky
-build_dir=~/build-tmp-auh-upgrades
-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/upgrade-helper.py -e all
-
-# clean up to avoid the disk filling up
-rm -rf $build_dir/tmp/
-rm -rf $build_dir/workspace/sources/*
-find $sstate_dir -atime +10 -delete
-
-popd
-- 
2.39.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#61554): https://lists.yoctoproject.org/g/yocto/message/61554
Mute This Topic: https://lists.yoctoproject.org/mt/102316509/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: 
https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to