diff options
-rw-r--r-- | buildstream/_artifactcache/cascache.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/_artifactcache/cascache.py b/buildstream/_artifactcache/cascache.py index 1b2dc198f..2cf91def4 100644 --- a/buildstream/_artifactcache/cascache.py +++ b/buildstream/_artifactcache/cascache.py @@ -612,6 +612,8 @@ class CASCache(ArtifactCache): symlinknode = directory.symlinks.add() symlinknode.name = name symlinknode.target = os.readlink(full_path) + elif stat.S_ISSOCK(mode): + pass else: raise ArtifactError("Unsupported file type for {}".format(full_path)) |