summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2011-07-15 09:16:45 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2011-07-15 09:17:03 +0000
commit6856d1c7ad99d4870ed8f270019fb5b320d0342e (patch)
treeee11a2bebe85d9b7ccc3bf4005de91863674d928
parentedac8200384853e8acece0c580383f46003030bf (diff)
downloadaports-6856d1c7ad99d4870ed8f270019fb5b320d0342e.tar.bz2
aports-6856d1c7ad99d4870ed8f270019fb5b320d0342e.tar.xz
main/open-vm-tools-vserver: rename initd to support multi kernel
-rw-r--r--main/open-vm-tools-vserver/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/open-vm-tools-vserver/APKBUILD b/main/open-vm-tools-vserver/APKBUILD
index b42964acf..c58ce5a4a 100644
--- a/main/open-vm-tools-vserver/APKBUILD
+++ b/main/open-vm-tools-vserver/APKBUILD
@@ -2,7 +2,7 @@
_flavor=vserver
_realname=open-vm-tools
-_mypkgrel=2
+_mypkgrel=3
# source open-vm-tools version
if [ -f ../../main/$_realname/APKBUILD ]; then
@@ -57,7 +57,7 @@ build() {
package() {
cd "$_builddir"
install -D -m755 "$srcdir"/vmware-modules.initd \
- "$pkgdir"/etc/init.d/vmware-modules || return 1
+ "$pkgdir"/etc/init.d/vmware-modules-${_flavor} || return 1
mkdir -p $pkgdir/lib/modules/"${_abi_release}"/misc/
cd "$_builddir"/modules
for module in `find -type f -name '*.ko'`; do