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
commit 8af17b602c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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")