tools/pygrub: remove /var/run/xend/boot from install target
PATCH 1/1 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.
--- tools/pygrub/Makefile | 1 - 1 file changed, 1 deletion(-)
tools/pygrub/Makefile +0 -1
@@ -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 \
Olaf Hering writes ("[PATCH] tools/pygrub: remove /var/run/xend/boot from install target"):
Quoted 3 lines
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.
For the reasons I have explained in my reply to
[PATCH] tools: remove /var/run/xenstored from install target
I concur.
(It would be convenient if related patches like this were grouped into a series, even if it's only two^Wthree patches. That would save me c&ping text like this into each reply.)
Thanks,
Ian.
Quoted 9 lines · Ian Jackson
Olaf Hering writes ("[PATCH]
tools/pygrub: remove/var/run/xend/bootfrom install target"):Quoted 3 lines
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.For the reasons I have explained in my reply to
[PATCH] tools: remove/var/run/xenstoredfrom install target
I concur.
Quoted 5 lines
Acked-by Ian Jackson <[email protected]>(It would be convenient if related patches like this were grouped into a series, even if it's only two^Wthree patches. That would save me c&ping text like this into each reply.)
Not to mention that at least one patch in "tools changes to honor --prefix=" relies contextually on this one being applied.
Ian.