summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Rößler2013-09-02 16:40:38 +0200
committerJonathan Bauer2013-09-30 13:22:03 +0200
commit2087974582f1d201ee66ea899c9a3d6b52c05416 (patch)
tree5c6d3fd9e3bba68f313ba95f8363f55422f4055e
parentAdd consolekit and polkit (diff)
downloadtm-scripts-2087974582f1d201ee66ea899c9a3d6b52c05416.tar.gz
tm-scripts-2087974582f1d201ee66ea899c9a3d6b52c05416.tar.xz
tm-scripts-2087974582f1d201ee66ea899c9a3d6b52c05416.zip
[vbox] vbox.build: suid VirtualBox in Debian/Ubuntu branch
-rw-r--r--remote/modules/vbox/vbox.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/modules/vbox/vbox.build b/remote/modules/vbox/vbox.build
index fd2e0b0b..4ee2b2b9 100644
--- a/remote/modules/vbox/vbox.build
+++ b/remote/modules/vbox/vbox.build
@@ -102,6 +102,8 @@ build() {
pinfo "Unpacking deb ..."
cd build || perror "Cannot cd to build directory!"
dpkg -x ../src/vbox/$(basename "$REQUIRED_VBOXBASEURL") . || perror "Could not unpack deb-archive!"
+ # VirtualBox needs to be suid-root:
+ chmod u+s ${MODULE_BUILD_DIR}/usr/lib/VirtualBox
;;
*) perror "Unknown Distribution: $SYS_DISTRIBUTION - Please specify its packet manager in remote/setup_target" ;;
esac