Merge pull request #115936 from matthewmazzanti/bubblewrap-hardcode-readlink

fhs-userenv-bubblewrap: Add store path to readlink
This commit is contained in:
Sandro
2021-04-05 22:53:13 +02:00
committed by GitHub

View File

@@ -95,7 +95,7 @@ let
if [[ $path == '/etc' ]]; then
:
elif [[ -L $i ]]; then
symlinks+=(--symlink "$(readlink "$i")" "$path")
symlinks+=(--symlink "$(${coreutils}/bin/readlink "$i")" "$path")
blacklist+=("$path")
else
ro_mounts+=(--ro-bind "$i" "$path")