diff options
Diffstat (limited to 'system/virtualbox-addons/virtualbox-addons.SlackBuild')
-rw-r--r-- | system/virtualbox-addons/virtualbox-addons.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/system/virtualbox-addons/virtualbox-addons.SlackBuild b/system/virtualbox-addons/virtualbox-addons.SlackBuild index 900ccddc55c61..45db64a172810 100644 --- a/system/virtualbox-addons/virtualbox-addons.SlackBuild +++ b/system/virtualbox-addons/virtualbox-addons.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=virtualbox-addons SRCNAM=VirtualBox -VERSION=4.1.14 +VERSION=4.2.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -78,6 +78,13 @@ cd $SRCNAM-${VERSION} chown -R root:root . chmod -R u+w,go+r-w,a-s . +# We don't want an init-script building kernel modules. +# Use virtualbox-kernel-addons.SlackBuild for this. +patch -d src/VBox/Additions/linux/installer/ -i $CWD/rc.vboxadd.diff + +# Add a sleep when stopping the vboxadd service +patch -d src/VBox/Additions/linux/installer/ -i $CWD/vboxadd-service-stop-fix.diff + # We set the environment variables manually to avoid dependency on acpica export BUILD_PLATFORM="linux" export BUILD_PLATFORM_ARCH="$TARGET" @@ -102,8 +109,6 @@ mkdir -p $PKG/lib/udev/rules.d $PKG/sbin \ $PKG/usr/{src,bin,sbin,share/autostart} \ $PKG/usr/lib$LIBDIRSUFFIX/xorg/modules/{drivers,input} -patch -d src/VBox/Additions/linux/installer/ -i $CWD/rc.vboxadd.diff -patch -d src/VBox/Additions/linux/installer/ -i $CWD/vboxadd-service-stop-fix.diff cp -f src/VBox/Additions/linux/installer/vboxadd.sh \ $PKG/etc/rc.d/rc.vboxadd.new cp -f src/VBox/Additions/linux/installer/vboxadd-service.sh \ |