summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2024-04-26 10:58:43 +0100
committerJames Le Cuirot <chewi@gentoo.org>2024-04-26 11:10:13 +0100
commite54ae68b1895753dc48ac3c542309d9b476e731c (patch)
tree394d6e809161a8c658b9265cf3f109ebfcb67545 /sys-apps/intune-portal/files/wrapper
parentprofiles: Mask sys-apps/intune-portal on musl (diff)
downloadgentoo-e54ae68b1895753dc48ac3c542309d9b476e731c.tar.gz
gentoo-e54ae68b1895753dc48ac3c542309d9b476e731c.tar.bz2
gentoo-e54ae68b1895753dc48ac3c542309d9b476e731c.zip
sys-apps/intune-portal: New package at 1.2402.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'sys-apps/intune-portal/files/wrapper')
-rw-r--r--sys-apps/intune-portal/files/wrapper10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-apps/intune-portal/files/wrapper b/sys-apps/intune-portal/files/wrapper
new file mode 100644
index 000000000000..33bcc59f8344
--- /dev/null
+++ b/sys-apps/intune-portal/files/wrapper
@@ -0,0 +1,10 @@
+#!/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 \
+ --ro-bind /etc/pam.d/system-auth /etc/pam.d/common-password \
+ -- \
+ /opt/microsoft/intune/libexec/"${0##*/}" "${@}"