Skip to contentSkip to conversation

pygrub Makefile cleanup.

PATCH Applied Anthony PERARD 3 participants 3 messages Jun 1, 2012 – Jun 8, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pygrub Makefile cleanup.

This patch removes the extra command install pygrub because this is already done by the setup.py script.

---
This patch need to be applied after the patch named "Fix pygrub install."

 tools/pygrub/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
tools/pygrub/Makefile +0 -1
index af2b8a5..bd22dd4 100644
@@ -13,7 +13,6 @@ install: all
 	CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \
 		$(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" \
 		--install-scripts=$(PRIVATE_BINDIR) --force
-	$(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub
 	$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
 	ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR)
 
Signature · 1 line
Anthony PERARD
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Anthony PERARD

This patch removes the extra command install pygrub because this is already done by the setup.py script.

Quoted 25 lines

---
This patch need to be applied after the patch named "Fix pygrub install."

 tools/pygrub/Makefile |    1 -

 1 files changed, 0 insertions(+), 1 deletions(-)
tools/pygrub/Makefile +0 -0
index af2b8a5..bd22dd4 100644
@@ -13,7 +13,6 @@ install: all
        CC="$(CC)" CFLAGS="$(CFLAGS)" $(PYTHON) setup.py install \
                $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" \

               --install-scripts=$(PRIVATE_BINDIR) --force
-       $(INSTALL_PYTHON_PROG) src/pygrub $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
       ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR)

--
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

Applied
#2 lore raw

George Dunlap writes ("Re: [Xen-devel] [PATCH] pygrub Makefile cleanup."):

Quoted 10 lines
Quoted 4 lines · Anthony PERARD

This patch removes the extra command install pygrub because this is already done by the setup.py script.

Quoted 1 line

This patch need to be applied after the patch named "Fix pygrub install."

I have applied both of these, thanks.

Ian.