[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools/pygrub: remove /var/run/xend/boot from install target



commit 604c2525b1ee8f25521dce6b47f9818334682185
Author:     Olaf Hering <olaf@xxxxxxxxx>
AuthorDate: Thu Apr 17 12:52:50 2014 +0200
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Wed Apr 23 12:21:12 2014 +0100

    tools/pygrub: remove /var/run/xend/boot from install target
    
    pygrub stores the temporary kernel+initrd files in /var/run/pygrub, or
    any other directory specified with --output-directory=<dir>. If the
    default dir is missing pygrub will create it.
    
    Without this change installing the resulting xen.rpm will fail on
    systems where /var/run is a symlink. rpm complains that '/var/run' (the
    symlink) is already owned by some other system rpm package.
    
    Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 tools/pygrub/Makefile |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile
index 0191638..4890927 100644
--- a/tools/pygrub/Makefile
+++ b/tools/pygrub/Makefile
@@ -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_DIR) $(DESTDIR)/var/run/xend/boot
        set -e; if [ $(BINDIR) != $(PRIVATE_BINDIR) -a \
                     "`readlink -f $(DESTDIR)/$(BINDIR)`" != \
                     "`readlink -f $(PRIVATE_BINDIR)`" ]; then \
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.