usr.manifest can contain lines like "/osv-path: !/host-path", when "/host-path" is a symlink. We need to remove the ! before searching host filesystem for the file.
Fixes #879 Signed-off-by: Justin Cinkelj <justin.cink...@xlab.si> --- scripts/mkbootfs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/mkbootfs.py b/scripts/mkbootfs.py index 8cda3b0..94835e9 100755 --- a/scripts/mkbootfs.py +++ b/scripts/mkbootfs.py @@ -30,6 +30,8 @@ def expand(items): yield (name, hostname) def unsymlink(f): + if f.startswith('!'): + f = f[1:] try: link = os.readlink(f) if link.startswith('/'): -- 2.9.3 -- You received this message because you are subscribed to the Google Groups "OSv Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to osv-dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.