Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base-files: sysupgrade: do not hide tar errors
tar stderr was probably discarded only to remove this message: tar: removing leading '/' from member names However, together with that, any other error would also be discarded. It is easier to fix that allowing the error message to be printed. In sysupgrade, the backup file list only uses absolute paths. That way, the solution is to remove the leading '/' from all files (sed) and chdir to / (option -C /) Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
- Loading branch information
14ac91c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure if the issue is caused by this commit, but it's not possible to create a config backup using
sysupgrade -b <filename>
at bcm27xx at the moment:14ac91c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this commit is actually helping by showing you the errors. The problem is probably with the 4fa9aaf.