wok-6.x diff virtualbox-ose-guestutils/receipt @ rev 16802
virtualbox-ose: fix modules install path
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Jul 05 12:28:30 2014 +0000 (2014-07-05) |
parents | 4e519df1c7b9 |
children | 9e01bc6321ea |
line diff
1.1 --- a/virtualbox-ose-guestutils/receipt Fri May 16 09:47:35 2014 +0000 1.2 +++ b/virtualbox-ose-guestutils/receipt Sat Jul 05 12:28:30 2014 +0000 1.3 @@ -41,22 +41,20 @@ 1.4 1.5 # virtualbox-ose-additions-modules 1.6 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g') 1.7 - #cooking installs modules in linux major version dir 1.8 - KBASEVER="${KERNEL_VERSION:0:3}" 1.9 1.10 cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/additions/src" 1.11 1.12 cd vboxguest 1.13 install -D -m644 vboxguest.ko \ 1.14 - "$fs/lib/modules/$KBASEVER-slitaz/misc/vboxguest.ko" 1.15 + "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxguest.ko" 1.16 1.17 cd ../vboxsf 1.18 install -D -m644 vboxsf.ko \ 1.19 - "$fs/lib/modules/$KBASEVER-slitaz/misc/vboxsf.ko" 1.20 + "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxsf.ko" 1.21 1.22 cd ../vboxvideo 1.23 install -D -m644 vboxvideo.ko \ 1.24 - "$fs/lib/modules/$KBASEVER-slitaz/misc/vboxvideo.ko" 1.25 + "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxvideo.ko" 1.26 1.27 install -D -m 0644 "$stuff/60-vboxguest.rules" \ 1.28 "$fs/etc/udev/rules.d/60-vboxguest.rules"