populate-depot: Improve handling of depots containing unpacked files
-
populate-depot: Pre-create files/.ref in runtimes' files content
pressure-vessel will create this lock file automatically, but if we don't include it in the depot content, then Steam will never clean it up.
-
populate-depot: Add an option to exclude redundant files
Regular files (with content) need to be shipped in the depot, but directories, empty files and symlinks can be created on-demand by pressure-vessel from the manifest, reducing the metadata burden on Steampipe.
This might be done by default later, but for now it's just an option.
Resolves: T27914 (eventually)
-
populate-depot: Make mtime compatible with other mtree implementations
It's convenient to be able to check depot contents against a reference using bsdtar or mtree-netbsd, but mtree-netbsd considers times with no dot to be invalid.
Follow-up improvements for T27130.