diff options
author | Karoly Kasza <kaszak@gmail.com> | 2014-09-02 18:13:36 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-09-13 23:50:13 +0200 |
commit | 4288da4bb0f678829e7d24392831f086e5f22582 (patch) | |
tree | f8a88404bf194421df213ae4fa8cf4f2f4df3794 /package/openvmtools/openvmtools-02-network_script.patch | |
parent | 1c102abb56a5396c9822bb630b6d1a31f0751548 (diff) | |
download | buildroot-4288da4bb0f678829e7d24392831f086e5f22582.tar.gz buildroot-4288da4bb0f678829e7d24392831f086e5f22582.zip |
openvmtools: new package
New package: openvmtools
[Peter: add patch to fix compilation against modern glib versions]
Signed-off-by: Karoly Kasza <kaszak@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openvmtools/openvmtools-02-network_script.patch')
-rw-r--r-- | package/openvmtools/openvmtools-02-network_script.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/openvmtools/openvmtools-02-network_script.patch b/package/openvmtools/openvmtools-02-network_script.patch new file mode 100644 index 0000000000..67705cc53a --- /dev/null +++ b/package/openvmtools/openvmtools-02-network_script.patch @@ -0,0 +1,21 @@ +scripts/linux/network: exit normally if no network control script + +When using suspend/resume from the hypervisor, openvmtools checks for the +networking script, and exists with an error if not found, making the hypervisor +raise a warning message. This workaround silences that error message. + +Signed-off-by: Karoly Kasza <kaszak@gmail.com> + +--- open-vm-tools-9.4.6-1770165.orig/scripts/linux/network 2014-07-02 00:21:14.000000000 +0200 ++++ open-vm-tools-9.4.6-1770165/scripts/linux/network 2014-08-07 16:34:21.963514273 +0200 +@@ -88,7 +88,9 @@ + run_network_script() + { + script=`find_networking_script` +- [ "$script" != "error" ] || Panic "Cannot find system networking script." ++# [ "$script" != "error" ] || Panic "Cannot find system networking script." ++# Modified for buildroot ++ [ "$script" != "error" ] || exit 0 + + # Using SysV "service" if it exists, otherwise fall back to run the script directly + service=`which service 2>/dev/null` |