ross@flashheart ~/Yocto/srtool (ross %) $ ./bin/common/srtool_utils.py -U Traceback (most recent call last): File "./bin/common/srtool_utils.py", line 651, in <module> main(sys.argv[1:]) File "./bin/common/srtool_utils.py", line 578, in main master_log = open(os.path.join(script_pathname, "update_logs/master_log.txt"), "a") FileNotFoundError: [Errno 2] No such file or directory: '/home/ross/Yocto/srtool/bin/update_logs/master_log.txt' (that file is at /home/ross/Yocto/srtool/update_logs/master_log.txt)
I am in fact working on updating this tool this week (plus the backup/restore scripts). I should have it ready by early next week.
commit 959cc8196aab2231b7f6f05c7e0151f8de46ea48 Author: David Reyna <David.Reyna@windriver.com> Date: Mon Jan 14 15:04:36 2019 -0800 srtool: complete auto-update support Complete the support for backgroup data source updates: * Add cron-start,cron-stop to srtool_update * Have cron update run as a user space script to avoid sudo * Hook cron-start,cron-stop into srt start,stop * Add list command to show update sources * Have force command propagate to update script calls, and add force option to all source scripts * Add 'srt manage update ...' for user access to the update functions * Add flag SRT_SKIP_AUTOUPDATE and srt option noautoupdate to disable the automatic update app for development assistance Documentation will be added soon.
Documentation can be found here: https://wiki.yoctoproject.org/wiki/SRTool_Developer_Page#Automatic_and_manual_data_source_updates