mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
The kernel is much more particular about how it handles the cpio format than GNU's cpio tool. Two things: - Don't use the -depth option to find, cpio documentation recommends using it (the directory comes after the contents so set the permissions on the dir last in case it is overly restrictive) but the kernel thinks the other direction and doesn't put things into a directory that does not (yet) exist. - Don't add anything under /lib which is a symlink in the original file. Adding /lib as a directory later replaces the earlier /lib symlink. Again the user space tool thinks in the other direction and will happily dereference the symlink while extracting, preserving it. CPIO CPIO CPIO! |
||
---|---|---|
.. | ||
src/third_party/coreos-overlay |