wok-6.x diff virtualbox-ose/receipt @ rev 17261
Move separate MIME definitions to the shared-mime-info package.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 22 03:42:23 2014 +0300 (2014-10-22) |
parents | be7b188ef115 |
children | 7390f8de9846 |
line diff
1.1 --- a/virtualbox-ose/receipt Sat Sep 27 21:53:42 2014 +0200 1.2 +++ b/virtualbox-ose/receipt Wed Oct 22 03:42:23 2014 +0300 1.3 @@ -26,7 +26,6 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 cp $stuff/LocalConfig.kmk . 1.9 ./configure \ 1.10 --disable-pulse \ 1.11 @@ -93,7 +92,6 @@ 1.12 install -D -m 0644 virtualbox.desktop "$fs/usr/share/applications/virtualbox.desktop" 1.13 sed -i "s|VBox.png|virtualbox|" \ 1.14 $fs/usr/share/applications/virtualbox.desktop 1.15 - install -D -m 0644 virtualbox.xml "$fs/usr/share/mime/packages/virtualbox.xml" 1.16 1.17 #install configuration 1.18 mkdir -p "$fs/etc/vbox" 1.19 @@ -133,10 +131,10 @@ 1.20 post_install() 1.21 { 1.22 #chroot $1/ udevadm control --reload 1.23 - KERNEL_VERSION=$( chroot $1/ uname -r) 1.24 - chroot $1/ depmod -a $KERNEL_VERSION 1.25 + KERNEL_VERSION=$( chroot $1/ uname -r) 1.26 + chroot $1/ depmod -a $KERNEL_VERSION 1.27 chroot $1/ modprobe -a vboxdrv vboxnetadp vboxnetflt 1.28 - grep -qs vboxdrv $1/etc/rcS.conf || 1.29 + grep -qs vboxdrv $1/etc/rcS.conf || 1.30 sed -i 's/LOAD_MODULES="/&vboxdrv vboxnetadp vboxnetflt /' $1/etc/rcS.conf 1.31 grep -qs vboxuser $1/etc/group || chroot $1/ addgroup -g 199 vboxusers 1.32 echo "add yourself to vboxusers group if you want to access"