Skip to content
Snippets Groups Projects
Commit 2573602b authored by Simon McVittie's avatar Simon McVittie
Browse files

pressure-vessel-wrap: Use a bundled bwrap as a last resort


This will only work on operating systems where unprivileged users can
create user namespaces, such as Fedora and Ubuntu >= 16.04 (but not,
for example, Arch Linux, Debian or RHEL by default).

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent bde8752c
Branches
Tags
No related merge requests found
...@@ -53,6 +53,10 @@ if [ -z "${BWRAP:-}" ]; then ...@@ -53,6 +53,10 @@ if [ -z "${BWRAP:-}" ]; then
break break
fi fi
done done
if [ -z "${BWRAP:-}" ] && [ -x "${here}/bwrap" ]; then
BWRAP="${here}/bwrap"
fi
fi fi
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment