summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
authorChristian Rößler2013-09-02 16:40:38 +0200
committerChristian Rößler2013-09-02 16:40:38 +0200
commite290867b025a531f2e895fcbae84cf1e3796ddbd (patch)
tree84e29a74375e9c95d2bb633886bc03d659a75b0e /remote/modules
parent[vbox] Readme file with notes on pathced scripts (diff)
downloadtm-scripts-e290867b025a531f2e895fcbae84cf1e3796ddbd.tar.gz
tm-scripts-e290867b025a531f2e895fcbae84cf1e3796ddbd.tar.xz
tm-scripts-e290867b025a531f2e895fcbae84cf1e3796ddbd.zip
[vbox] vbox.build: suid VirtualBox in Debian/Ubuntu branch
Diffstat (limited to 'remote/modules')
-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