From 604c2525b1ee8f25521dce6b47f9818334682185 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Thu, 17 Apr 2014 12:52:50 +0200 Subject: [PATCH] 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=. 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 Acked-by: Ian Jackson Acked-by: Ian Campbell --- tools/pygrub/Makefile | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/pygrub/Makefile b/tools/pygrub/Makefile index 0191638ad1..4890927e57 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 \ -- 2.39.5