package/openvmtools: move files up from unnecessary subdirectory
PATCH 1/1 package/openvmtools: move files up from unnecessary subdirectory
The Open-vm-tools package is now distributed from GitHub and a new subdirectory was introduced, which breaks the Buildroot process.
This patch moves everything up from the new subdirectory after extraction, making Buildroot once again able to run.
Fixes:
http://autobuild.buildroot.net/results/bfd10c8d454a2686ebb1c4afdb49c55e39a9dd67/
--- package/openvmtools/openvmtools.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/openvmtools/openvmtools.mk +7 -0
@@ -44,6 +44,13 @@ else OPENVMTOOLS_CONF_OPTS += --without-pam endif +# Move everything up from the unnecessary subdirectory +define OPENVMTOOLS_POST_EXTRACT_MOVE_SUBDIR + mv $(@D)/open-vm-tools/* $(@D) +endef + +OPENVMTOOLS_POST_EXTRACT_HOOKS += OPENVMTOOLS_POST_EXTRACT_MOVE_SUBDIR + # symlink needed by lib/system/systemLinux.c (or will cry in /var/log/messages) # defined in lib/misc/hostinfoPosix.c # /sbin/shutdown needed for Guest OS restart/shutdown from hypervisor
Signature · 1 line
2.1.4
PATCH 1/1 package/openvmtools: move files up from unnecessary subdirectory
Dear Karoly Kasza,
Quoted 11 lines · Karoly Kasza
The Open-vm-tools package is now distributed from GitHub and a new subdirectory was introduced, which breaks the Buildroot process.
This patch moves everything up from the new subdirectory after extraction, making Buildroot once again able to run.
Fixes:
http://autobuild.buildroot.net/results/bfd10c8d454a2686ebb1c4afdb49c55e39a9dd67/
Signed-off-by Karoly Kasza <[email protected]>
Or you could use:
OPENVMTOOLS_SUBDIR = open-vm-tools
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 package/openvmtools: move files up from unnecessary subdirectory
Hi Thomas,
Quoted 5 lines
Or you could use:
OPENVMTOOLS_SUBDIR= open-vm-tools
I did not know there is such an option.
Which one solution does the BR community prefer?
Quoted 1 line
BR
Karoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150617/fd5ca523/attachment.html>
PATCH 1/1 package/openvmtools: move files up from unnecessary subdirectory
Hi,
Quoted 8 lines
Quoted 5 lines
Or you could use:
OPENVMTOOLS_SUBDIR= open-vm-toolsI did not know there is such an option.
Which one solution does the BR community prefer?
Also, I assume this variable only tells the build system where to start configure/make etc,
so all patches also has to be modified, am I right?
BR
Karoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150617/40f6c611/attachment.html>
PATCH 1/1 package/openvmtools: move files up from unnecessary subdirectory
Dear K?roly Kasza,
Quoted 3 lines · K?roly Kasza
Also, I assume this variable only tells the build system where to start configure/make etc,
so all patches also has to be modified, am I right?
Correct.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com