| Summary: |
[AUH] 'tmp' dir is hard-coded |
| Product: |
[Yocto Project Subprojects] Automated Update Handler
|
Reporter: |
Tim Orling <tim.orling> |
| Component: |
Automatic Update Handler | Assignee: |
Alexander Kanavin <alex.kanavin> |
| Status: |
RESOLVED
FIXED
|
QA Contact: |
apoorv sangal <apoorvsangal> |
| Severity: |
normal
|
|
|
| Priority: |
High
|
CC: |
akuster, stephano
|
| Version: |
2.5 | |
|
| Target Milestone: |
2.5 M4 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
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 "../auto-upgrade-helper/upgradehelper.py", line 788, in <module> updater.run() File "../auto-upgrade-helper/upgradehelper.py", line 745, in run super(UniverseUpdater, self).run() File "../auto-upgrade-helper/upgradehelper.py", line 412, in run pkgs_to_upgrade = self._get_packages_to_upgrade(package_list) File "../auto-upgrade-helper/upgradehelper.py", line 717, in _get_packages_to_upgrade for pkg in self._parse_checkpkg_file(last_checkpkg_file): File "../auto-upgrade-helper/upgradehelper.py", line 632, in _parse_checkpkg_file with open(file_path, "r") as f: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/jenkins/workspace/meta-perl-auto-upgrade-helper/build-auh/tmp/log/checkpkg.csv’ Is there a way to make AUH more flexible?