All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tools/pygrub: do not override pygrub with a symbolic link
@ 2013-04-22 11:50 Christoph Egger
  2013-04-22 18:34 ` Matt Wilson
  0 siblings, 1 reply; 11+ messages in thread
From: Christoph Egger @ 2013-04-22 11:50 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

tools/pygrub: Do not override pygrub with a symbolic link if $(BINDIR) and $(PRIVATE_BINDIR) are the same.

Signed-off-by: Christoph Egger <chegger@amazon.de>
diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 039f7f7..c3b34d7 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -15,8 +15,8 @@ install: all
 		--install-scripts=$(PRIVATE_BINDIR) --force
 	$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
 	set -e; if [ "`readlink -f $(DESTDIR)/$(BINDIR)`" != \
-	             "`readlink -f $(PRIVATE_BINDIR)`" ]; then \
-	    ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
+	             "`readlink -f $(DESTDIR)/$(PRIVATE_BINDIR)`" ]; then \
+	    ln -sf $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
 	fi
 
 .PHONY: clean

[-- Attachment #2: patch_pygrub.diff --]
[-- Type: text/plain, Size: 919 bytes --]

commit 78128508937af187889806b9be3de0d49b8915fa
Author: Christoph Egger <chegger@amazon.de>
Date:   Fri Feb 8 12:44:12 2013 +0000

    tools/pygrub: Do not override pygrub with a symbolic link if $(BINDIR)
    and $(PRIVATE_BINDIR) are the same.
    
    Signed-off-by: Christoph Egger <chegger@amazon.de>

diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 039f7f7..c3b34d7 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -15,8 +15,8 @@ install: all
 		--install-scripts=$(PRIVATE_BINDIR) --force
 	$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
 	set -e; if [ "`readlink -f $(DESTDIR)/$(BINDIR)`" != \
-	             "`readlink -f $(PRIVATE_BINDIR)`" ]; then \
-	    ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
+	             "`readlink -f $(DESTDIR)/$(PRIVATE_BINDIR)`" ]; then \
+	    ln -sf $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
 	fi
 
 .PHONY: clean

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [PATCH] tools/pygrub: do not override pygrub with a symbolic link
@ 2013-04-22 11:50 Christoph Egger
  2013-04-22 11:58 ` Ian Campbell
  0 siblings, 1 reply; 11+ messages in thread
From: Christoph Egger @ 2013-04-22 11:50 UTC (permalink / raw)
  To: xen-devel, Ian Campbell

[-- Attachment #1: Type: text/plain, Size: 771 bytes --]

tools/pygrub: Do not override pygrub with a symbolic link if $(BINDIR) and $(PRIVATE_BINDIR) are the same.

Signed-off-by: Christoph Egger <chegger@amazon.de>
diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 039f7f7..c3b34d7 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -15,8 +15,8 @@ install: all
 		--install-scripts=$(PRIVATE_BINDIR) --force
 	$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
 	set -e; if [ "`readlink -f $(DESTDIR)/$(BINDIR)`" != \
-	             "`readlink -f $(PRIVATE_BINDIR)`" ]; then \
-	    ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
+	             "`readlink -f $(DESTDIR)/$(PRIVATE_BINDIR)`" ]; then \
+	    ln -sf $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
 	fi
 
 .PHONY: clean

[-- Attachment #2: patch_pygrub.diff --]
[-- Type: text/plain, Size: 919 bytes --]

commit 78128508937af187889806b9be3de0d49b8915fa
Author: Christoph Egger <chegger@amazon.de>
Date:   Fri Feb 8 12:44:12 2013 +0000

    tools/pygrub: Do not override pygrub with a symbolic link if $(BINDIR)
    and $(PRIVATE_BINDIR) are the same.
    
    Signed-off-by: Christoph Egger <chegger@amazon.de>

diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 039f7f7..c3b34d7 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -15,8 +15,8 @@ install: all
 		--install-scripts=$(PRIVATE_BINDIR) --force
 	$(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot
 	set -e; if [ "`readlink -f $(DESTDIR)/$(BINDIR)`" != \
-	             "`readlink -f $(PRIVATE_BINDIR)`" ]; then \
-	    ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
+	             "`readlink -f $(DESTDIR)/$(PRIVATE_BINDIR)`" ]; then \
+	    ln -sf $(DESTDIR)/$(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR); \
 	fi
 
 .PHONY: clean

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-04-24 11:56 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-22 11:50 [PATCH] tools/pygrub: do not override pygrub with a symbolic link Christoph Egger
2013-04-22 18:34 ` Matt Wilson
  -- strict thread matches above, loose matches on Subject: below --
2013-04-22 11:50 Christoph Egger
2013-04-22 11:58 ` Ian Campbell
2013-04-22 12:26   ` Christoph Egger
2013-04-22 12:34     ` Ian Campbell
2013-04-22 13:07       ` Christoph Egger
2013-04-22 14:31         ` Ian Campbell
2013-04-22 14:48           ` Christoph Egger
2013-04-22 18:36             ` Matt Wilson
2013-04-24 11:56               ` Ian Campbell

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.