fhs-userenv-bubblewrap: Add store path to readlink
Commit df4761 added a call to readlink, which fails if it is not in the user's path when run. Updated the readlink call to pull from the coreutils store path directly.
This commit is contained in:
parent
867edccac8
commit
eb268eabad
|
@ -95,7 +95,7 @@ let
|
||||||
if [[ $path == '/etc' ]]; then
|
if [[ $path == '/etc' ]]; then
|
||||||
:
|
:
|
||||||
elif [[ -L $i ]]; then
|
elif [[ -L $i ]]; then
|
||||||
symlinks+=(--symlink "$(readlink "$i")" "$path")
|
symlinks+=(--symlink "$(${coreutils}/bin/readlink "$i")" "$path")
|
||||||
blacklist+=("$path")
|
blacklist+=("$path")
|
||||||
else
|
else
|
||||||
ro_mounts+=(--ro-bind "$i" "$path")
|
ro_mounts+=(--ro-bind "$i" "$path")
|
||||||
|
|
Loading…
Reference in a new issue