summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Neves2013-05-14 17:20:27 +0200
committerMichael Neves2013-05-14 17:20:27 +0200
commit3cd0adfa2a95a3a33c7e03a297466deb08a51e0e (patch)
treea1bd84b0f22396d0d98338587c577d18ce0c0d02
parentMerge branch 'master' of simonslx:openslx-ng/tm-scripts (diff)
downloadtm-scripts-3cd0adfa2a95a3a33c7e03a297466deb08a51e0e.tar.gz
tm-scripts-3cd0adfa2a95a3a33c7e03a297466deb08a51e0e.tar.xz
tm-scripts-3cd0adfa2a95a3a33c7e03a297466deb08a51e0e.zip
vmware fixes
-rw-r--r--remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include2
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.conf3
2 files changed, 3 insertions, 2 deletions
diff --git a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
index 65db53da..bc93d68b 100644
--- a/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
+++ b/remote/modules/vmplayer/data/etc/openslx/vmware/run-virt.include
@@ -421,7 +421,7 @@ esac
# check if ide/scsi and hwver of image
# read only the first 30 lines to be shure
-imghead=$(head -30 ${diskfile})
+imghead=$(head -n 30 ${diskfile})
hddrv=$(echo "${imghead}" | grep -m1 -ia "ddb.adapterType" |\
awk -F '"' '{print $2}')
hwver=$(echo "${imghead}" | grep -m1 -ia "ddb.virtualHWVersion" |\
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
index a34634ab..a8bbf386 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.conf
@@ -27,7 +27,8 @@ REQUIRED_BINARIES=" bash
xterm
ckbcomp
xvidtune
- bc"
+ bc
+ dirname"
REQUIRED_LIBRARIES=" libcap
libcidn
libcom_err