Bug 10672 - AUH log's tarball should have relative path starting at the timestamp
Summary: AUH log's tarball should have relative path starting at the timestamp
Status: RESOLVED FIXED
Alias: None
Product: Automated Update Handler
Classification: Yocto Project Subprojects
Component: Automatic Update Handler (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.5
Assignee: Alexander Kanavin
QA Contact: yeoh ee peng
URL:
Whiteboard:
Depends on:
Blocks: 12360
  Show dependency tree
 
Reported: 2016-11-15 22:42 UTC by Leonardo Sandoval Gonzalez
Modified: 2018-01-04 14:10 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Sandoval Gonzalez 2016-11-15 22:42:43 UTC
Provided AUH tarballs containing logs currently have paths starting with home/auh

tar -tvf 20161102154900.tar.gz | head -1
drwxr-xr-x auh/nogroup       0 2016-11-02 09:49 home/auh/work/20161102154900/

I would recommend creating this tarball starting at the timestamp. User can trim it but we can avoid that extra work from users.
Comment 1 Alexander Kanavin 2017-11-29 06:24:32 UTC
Yep, I'll see if we can avoid making tarballs altogether.
Comment 2 Alexander Kanavin 2017-12-21 16:36:42 UTC
Patches posted to yocto@ list and available here:
http://git.yoctoproject.org/cgit/cgit.cgi/auto-upgrade-helper/log/?h=devel