summaryrefslogtreecommitdiff
path: root/sys-auth/microsoft-identity-broker/files/wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/microsoft-identity-broker/files/wrapper')
-rw-r--r--sys-auth/microsoft-identity-broker/files/wrapper9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-auth/microsoft-identity-broker/files/wrapper b/sys-auth/microsoft-identity-broker/files/wrapper
new file mode 100644
index 000000000000..f419769bebba
--- /dev/null
+++ b/sys-auth/microsoft-identity-broker/files/wrapper
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+exec bwrap \
+ --bind / / \
+ --dev-bind /dev /dev \
+ --ro-bind /etc/microsoft-identity-broker/lsb-release /etc/lsb-release \
+ --ro-bind /etc/microsoft-identity-broker/os-release /etc/os-release \
+ -- \
+ /usr/share/microsoft-identity-broker/bin/"${0##*/}" "${@}"