wok-6.x 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 953982ceeacc
children 6a42d6905970
files virtualbox-ose-guestutils/receipt virtualbox-ose/receipt
line diff
     1.1 --- a/virtualbox-ose-guestutils/receipt	Sat Jul 05 18:30:50 2014 +0300
     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"
     2.1 --- a/virtualbox-ose/receipt	Sat Jul 05 18:30:50 2014 +0300
     2.2 +++ b/virtualbox-ose/receipt	Sat Jul 05 12:28:30 2014 +0000
     2.3 @@ -114,14 +114,13 @@
     2.4  	chmod 644 $fs/usr/lib/virtualbox/sdk/bindings/xpcom/python/xpcom/client/*.py
     2.5  	cd $src/out/linux.$BUILD_PLATFORM_ARCH/release/bin
     2.6  
     2.7 +	# virtualbox-ose-modules
     2.8  	KERNEL_VERSION=$(grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g')
     2.9 -	#cooking installs modules in linux major version dir
    2.10 -	KBASEVER="${KERNEL_VERSION:0:3}"
    2.11  	
    2.12  	cd "$src/out/linux.$BUILD_PLATFORM_ARCH/release/bin/src"
    2.13 -	install -D -m644 vboxdrv.ko "$fs/lib/modules/$KBASEVER-slitaz/misc/vboxdrv.ko"
    2.14 -	install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KBASEVER-slitaz/misc/vboxnetflt.ko"
    2.15 -	install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KBASEVER-slitaz/misc/vboxnetadp.ko"
    2.16 +	install -D -m644 vboxdrv.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxdrv.ko"
    2.17 +	install -D -m644 vboxnetflt.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetflt.ko"
    2.18 +	install -D -m644 vboxnetadp.ko "$fs/lib/modules/$KERNEL_VERSION-slitaz/misc/vboxnetadp.ko"
    2.19  }
    2.20  
    2.21  pre_remove()