summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot2013-05-09 17:44:27 +0200
committerroot2013-05-09 17:44:27 +0200
commitf83b20c902191d96701682fb53b4628fd33af5e3 (patch)
tree31ff979c29ca74dac76279a3411b1ab7ffb80477
parentadd mkhomedir_helper to have temp home directory for ldap users (diff)
downloadtm-scripts-f83b20c902191d96701682fb53b4628fd33af5e3.tar.gz
tm-scripts-f83b20c902191d96701682fb53b4628fd33af5e3.tar.xz
tm-scripts-f83b20c902191d96701682fb53b4628fd33af5e3.zip
fix tarcopy for vmplayer
fix mountexport to only run when cmdline contains "mount", not vice versa
-rw-r--r--remote/modules/vmplayer/vmplayer.build2
-rw-r--r--remote/modules/vmplayer/vmplayer.conf2
-rwxr-xr-xremote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script2
3 files changed, 2 insertions, 4 deletions
diff --git a/remote/modules/vmplayer/vmplayer.build b/remote/modules/vmplayer/vmplayer.build
index eb6fc8e5..4053e5c1 100644
--- a/remote/modules/vmplayer/vmplayer.build
+++ b/remote/modules/vmplayer/vmplayer.build
@@ -26,8 +26,6 @@ build() {
cp -r ./src/vmware-vmx/lib/{bin,icu,lib,libconf,scripts} "$TARGET" || perror "Could not copy many things from vmware-vmx."
ln -s /usr/lib/vmware/bin/appLoader "$TARGET/bin/vmplayer" || perror "Could not link vmplayer to appLoader."
chmod +x "$TARGET"/bin/*
- chmod +x "$MODULE_BUILD_DIR"/bin/*
- chmod +x "$MODULE_BUILD_DIR"/sbin/*
# Compile kernel modules
return 0 # TODO: Fix kompalieren
pinfo "Compiling required kernel modules."
diff --git a/remote/modules/vmplayer/vmplayer.conf b/remote/modules/vmplayer/vmplayer.conf
index 65fda83d..c5d92140 100644
--- a/remote/modules/vmplayer/vmplayer.conf
+++ b/remote/modules/vmplayer/vmplayer.conf
@@ -1,3 +1,3 @@
REQUIRED_BINARIES=""
REQUIRED_SYSTEM_FILES=""
-REQUIRED_DIRECTORIES="/bin /etc /lib /usr"
+REQUIRED_DIRECTORIES="/etc /usr"
diff --git a/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script b/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script
index eddf3bd1..0bdd796d 100755
--- a/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script
+++ b/remote/rootfs/rootfs-stage32/data/etc/udhcpc.openslx.script
@@ -61,7 +61,7 @@ search lp.ruf.uni-freiburg.de
fi
# TODO i.e. event trigger
- [ "x$(grep -ci mount /proc/cmdline)" == "x0" ] && systemctl start nfs-mount.service
+ [ "x$(grep -ci mount /proc/cmdline)" != "x0" ] && systemctl start nfs-mount.service
;;