[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 2/9] tools/build: fix pygrub linking
On 07/11/12 12:23, Roger Pau Monne wrote: > Prevent creating a symlink to $(DESTDIR)/$(BINDIR) if it is the same > as $(PRIVATE_BINDIR) > > This fixes NetBSD install, where $(DESTDIR)/$(BINDIR) == > $(PRIVATE_BINDIR). > > Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> > Cc: Christoph Egger <Christoph.Egger@xxxxxxx> > Signed-off-by: Roger Pau Monne <roger.pau@xxxxxxxxxx> Acked-by: Christoph Egger <Christoph.Egger@xxxxxxx> > --- > tools/pygrub/Makefile | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile > index bd22dd4..835fd43 100644 > --- a/tools/pygrub/Makefile > +++ b/tools/pygrub/Makefile > @@ -14,7 +14,9 @@ install: all > $(PYTHON_PREFIX_ARG) --root="$(DESTDIR)" \ > --install-scripts=$(PRIVATE_BINDIR) --force > $(INSTALL_DIR) $(DESTDIR)/var/run/xend/boot > +#ifneq ($(readlink -f $(PRIVATE_BINDIR)), $(readlink -f > $(DESTDIR)/$(BINDIR))) > ln -sf $(PRIVATE_BINDIR)/pygrub $(DESTDIR)/$(BINDIR) > +#endif > > .PHONY: clean > clean: -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |