<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>13131</bug_id>
          
          <creation_ts>2019-01-10 14:24:55 +0000</creation_ts>
          <short_desc>update script fails</short_desc>
          <delta_ts>2019-01-22 21:12:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Security Response Tool</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.7 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="David Reyna">david.reyna</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82723</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2019-01-10 14:24:55 +0000</bug_when>
    <thetext>ross@flashheart ~/Yocto/srtool (ross %)
$ ./bin/common/srtool_utils.py  -U
Traceback (most recent call last):
  File &quot;./bin/common/srtool_utils.py&quot;, line 651, in &lt;module&gt;
    main(sys.argv[1:])
  File &quot;./bin/common/srtool_utils.py&quot;, line 578, in main
    master_log = open(os.path.join(script_pathname, &quot;update_logs/master_log.txt&quot;), &quot;a&quot;)
FileNotFoundError: [Errno 2] No such file or directory: &apos;/home/ross/Yocto/srtool/bin/update_logs/master_log.txt&apos;

(that file is at /home/ross/Yocto/srtool/update_logs/master_log.txt)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82762</commentid>
    <comment_count>1</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2019-01-11 19:30:43 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82793</commentid>
    <comment_count>2</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2019-01-14 23:48:06 +0000</bug_when>
    <thetext>commit 959cc8196aab2231b7f6f05c7e0151f8de46ea48
Author: David Reyna &lt;David.Reyna@windriver.com&gt;
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 &apos;srt manage update ...&apos; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>82796</commentid>
    <comment_count>3</comment_count>
    <who name="David Reyna">david.reyna</who>
    <bug_when>2019-01-15 05:13:27 +0000</bug_when>
    <thetext>Documentation can be found here:

  https://wiki.yoctoproject.org/wiki/SRTool_Developer_Page#Automatic_and_manual_data_source_updates</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>