tools/hotplug: Removing of "all" dependency from "install" rule.

The "install" rules depends on both "all" and "subdirs-install" and
"all" depends on "subdirs-all". This leads the "install" rules to call
both "subdirs-all" and "subdirs-install" which create a race with two
concurrent `make` within the same directory (systemd) trying to make the
same things (xen.conf) and failing.

Ultimatly, "install" should only depend on the things it needs to
install, and not on "all".

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Tested-by: Olaf Hering <olaf@aepfle.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Anthony PERARD authored and Ian Campbell committed 2014-10-14 10:03:12 +01:00
1 parent 66bb8b04f0
commit e47df5f77b
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ all:
build:
.PHONY: install
install: all install-scripts install-rcd
install: install-scripts install-rcd
.PHONY: install-scripts
install-scripts:
+1 -1
View File
@@ -43,7 +43,7 @@ all: subdirs-all
build:
.PHONY: install
install: all install-initd install-scripts install-udev subdirs-install
install: install-initd install-scripts install-udev subdirs-install
# See docs/misc/distro_mapping.txt for INITD_DIR location
.PHONY: install-initd
+1 -1
View File
@@ -17,7 +17,7 @@ all:
build:
.PHONY: install
install: all install-scripts install-rcd
install: install-scripts install-rcd
.PHONY: install-scripts
install-scripts:
+1 -1
View File
@@ -19,7 +19,7 @@ all: build
build: $(HOTPLUGPATH)
.PHONY: install
install: all install-scripts
install: install-scripts
.PHONY: install-scripts
install-scripts: build
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.