ktock / container2wasm

Container to WASM converter
https://ktock.github.io/container2wasm-demo/
Apache License 2.0
1.97k stars 72 forks source link

imagemounter: Avoid error when whiteout target doesn't exist in the parent layers #257

Closed ktock closed 4 months ago

ktock commented 4 months ago

If we find a whiteout and the target (already) doesn't exist in the parent layers, we don't return error but just log it and continue processing.

This fixes the recent unpacking errors like the following:

parent node of whiteout "var/cache/apt/archives/.wh..wh..opq" is not found: Node "archives" not found