log archiver has issues with epoch #226
Labels
No labels
Done
bug
buildiso
buildpkg
buildtree
critical
deployiso
duplicate
enhancement
help wanted
in progress
invalid
manjaro-chroot
note
old-not-relevant
optional
question
sonar
todo
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tools/manjaro-tools#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: philmmanjaro
when using epoch our log archiver seems to have some issue:
Created by: philmmanjaro
tested with v0.11.901
Created by: udeved
The new moving uses get_full_version() in util-pkg.
This function came from devtools(?)
Created by: philmmanjaro
It is not about the moving rather how we archive our logs.
Created by: udeved
Well, the archiving uses the full pkg name, and this is determined at moving, before tar.
It gets an array of log files to tar.
Need to check.
Created by: udeved
get_full_version should return version string, with epoch.
Created by: philmmanjaro
Correct, but the archiver is searching for a folder with the epoch, which is wrong. So we have to find a solution for epoch in regard of archiving. Moving is fine.
Created by: udeved
The solution is by fixing get_full_version() my guess.
Created by: philmmanjaro
The error here is
tar (child): Cannot connect to plymouth-1: resolve failed. Tar should look for folder plymouth and not for plymouth-1:.Created by: udeved
Hmm, perhaps some missing double quotes, since the epoch bit works obviously.
Created by: udeved
I have no idea why tar adds a back slash for each array element.
The src array is fine, the tar command somehow uses a back slash where it should not be.