Matthieu Mottet da5b526e52
fix: report errors correctly when pulling, fix EEXIST
Kaniko adds an entry for the root folder `/` in its tarballs.
Processing the file causes the process to hang when trying to
recreate the destination directory.

The root directory already exists, so it triggers an error, but as the
errors were not correctly propagated, the process hangs forever.

Fix both issues.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit 81f9fcd9ce83c632dbbcbc1594605888d31e3ca3)
2024-09-25 18:19:30 +04:00
..
2023-08-31 20:52:58 +04:00