<?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>12566</bug_id>
          
          <creation_ts>2018-02-22 04:58:43 +0000</creation_ts>
          <short_desc>[AUH] &apos;tmp&apos; dir is hard-coded</short_desc>
          <delta_ts>2018-03-01 14:40:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Automated Update Handler</product>
          <component>Automatic Update Handler</component>
          <version>2.5</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>High</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Orling">tim.orling</reporter>
          <assigned_to name="Alexander Kanavin">alex.kanavin</assigned_to>
          <cc>akuster</cc>
    
    <cc>stephano</cc>
          
          <qa_contact name="apoorv sangal">apoorvsangal</qa_contact>
          <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>79547</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2018-02-22 04:58:43 +0000</bug_when>
    <thetext>auto-upgrade-helper/upgradehelper.py has ‘tmp’ hard coded, but my tmpdir might actually be ‘tmp-glibc’ for instance. This leads to the following error:

INFO: Fetching upstream version(s) ...

Traceback (most recent call last):
  File &quot;../auto-upgrade-helper/upgradehelper.py&quot;, line 788, in &lt;module&gt;
    updater.run()
  File &quot;../auto-upgrade-helper/upgradehelper.py&quot;, line 745, in run
    super(UniverseUpdater, self).run()
  File &quot;../auto-upgrade-helper/upgradehelper.py&quot;, line 412, in run
    pkgs_to_upgrade = self._get_packages_to_upgrade(package_list)
  File &quot;../auto-upgrade-helper/upgradehelper.py&quot;, line 717, in _get_packages_to_upgrade
    for pkg in self._parse_checkpkg_file(last_checkpkg_file):
  File &quot;../auto-upgrade-helper/upgradehelper.py&quot;, line 632, in _parse_checkpkg_file
    with open(file_path, &quot;r&quot;) as f:
FileNotFoundError: [Errno 2] No such file or directory: &apos;/var/lib/jenkins/workspace/meta-perl-auto-upgrade-helper/build-auh/tmp/log/checkpkg.csv’

Is there a way to make AUH more flexible?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79558</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-02-22 15:53:56 +0000</bug_when>
    <thetext>I have seen this too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79615</commentid>
    <comment_count>2</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-02-27 13:03:19 +0000</bug_when>
    <thetext>I think this should be possible to fix, as AUH does have facility to get variable assignments out of bitbake.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79645</commentid>
    <comment_count>3</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2018-03-01 14:40:12 +0000</bug_when>
    <thetext>Committed to master here: http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/commit/?id=985ce8b0563f2453da9b9ed62f9fbe30be93dd38</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>