]> xenbits.xensource.com Git - xen.git/commitdiff
tools/pygrub: remove /var/run/xend/boot from install target
authorOlaf Hering <olaf@aepfle.de>
Thu, 17 Apr 2014 10:52:50 +0000 (12:52 +0200)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 23 Apr 2014 11:21:12 +0000 (12:21 +0100)
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@aepfle.de>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/pygrub/Makefile

index 0191638ad1ff6717e876068d85c1a725cc476161..4890927e5747e34ea6b10c646baf086bb2f54a49 100644 (file)
@@ -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 \