* [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory
@ 2015-06-17 7:33 Karoly Kasza
2015-06-17 7:44 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Karoly Kasza @ 2015-06-17 7:33 UTC (permalink / raw)
To: buildroot
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 <kaszak@gmail.com>
---
package/openvmtools/openvmtools.mk | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/package/openvmtools/openvmtools.mk b/package/openvmtools/openvmtools.mk
index 822bbf1..414a42a 100644
--- a/package/openvmtools/openvmtools.mk
+++ b/package/openvmtools/openvmtools.mk
@@ -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
--
2.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory
2015-06-17 7:33 [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory Karoly Kasza
@ 2015-06-17 7:44 ` Thomas Petazzoni
2015-06-17 7:47 ` Károly Kasza
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2015-06-17 7:44 UTC (permalink / raw)
To: buildroot
Dear Karoly Kasza,
On Wed, 17 Jun 2015 09:33:36 +0200, Karoly Kasza wrote:
> 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 <kaszak@gmail.com>
Or you could use:
OPENVMTOOLS_SUBDIR = open-vm-tools
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory
2015-06-17 7:44 ` Thomas Petazzoni
@ 2015-06-17 7:47 ` Károly Kasza
2015-06-17 7:51 ` Károly Kasza
0 siblings, 1 reply; 5+ messages in thread
From: Károly Kasza @ 2015-06-17 7:47 UTC (permalink / raw)
To: buildroot
Hi Thomas,
> 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?
> BR
Karoly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150617/fd5ca523/attachment.html>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory
2015-06-17 7:47 ` Károly Kasza
@ 2015-06-17 7:51 ` Károly Kasza
2015-06-17 8:00 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Károly Kasza @ 2015-06-17 7:51 UTC (permalink / raw)
To: buildroot
Hi,
>> 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?
>
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory
2015-06-17 7:51 ` Károly Kasza
@ 2015-06-17 8:00 ` Thomas Petazzoni
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2015-06-17 8:00 UTC (permalink / raw)
To: buildroot
Dear K?roly Kasza,
On Wed, 17 Jun 2015 09:51:49 +0200, K?roly Kasza wrote:
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-06-17 8:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-17 7:33 [Buildroot] [PATCH] package/openvmtools: move files up from unnecessary subdirectory Karoly Kasza
2015-06-17 7:44 ` Thomas Petazzoni
2015-06-17 7:47 ` Károly Kasza
2015-06-17 7:51 ` Károly Kasza
2015-06-17 8:00 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.