docs: Fix virtiofsd.1 location
PATCH 1/1 docs: Fix virtiofsd.1 location
In reply to a message not in the archivePatch 6a7e2bbee5 docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.
Fixing wrong location so installation is successful.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -865,7 +865,7 @@ ifdef CONFIG_VIRTFS $(INSTALL_DATA) $(MANUAL_BUILDDIR)/interop/virtfs-proxy-helper.1 "$(DESTDIR)$(mandir)/man1" endif ifeq ($(CONFIG_LINUX)$(CONFIG_SECCOMP)$(CONFIG_LIBCAP_NG),yyy) - $(INSTALL_DATA) docs/interop/virtiofsd.1 "$(DESTDIR)$(mandir)/man1" + $(INSTALL_DATA) $(MANUAL_BUILDDIR)/interop/virtiofsd.1 "$(DESTDIR)$(mandir)/man1" endif install-datadir:
Signature · 1 line
1.8.3.1
Quoted 8 lines · Miroslav Rezanina
Patch
6a7e2bbee5docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.Fixing wrong location so installation is successful.
Signed-off-by Miroslav Rezanina <[email protected]>
I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.
thanks
-- PMM
Quoted 8 lines · * Peter Maydell ([email protected]) wrote:
Quoted 7 lines · Miroslav Rezanina
Patch
6a7e2bbee5docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.Fixing wrong location so installation is successful.
Quoted 7 lines
Quoted 1 line
Signed-off-by Miroslav Rezanina <[email protected]>Reviewed-by Peter Maydell <[email protected]>I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.
Oops thanks!
Does someone want to take this via build or trivial - I've not got any more virtiofsd stuff currently queued.
Dave
Quoted 3 lines
thanks
-- PMM
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 8 lines · Peter Maydell
Quoted 7 lines · Miroslav Rezanina
Patch
6a7e2bbee5docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.Fixing wrong location so installation is successful.
Quoted 7 lines
Quoted 1 line
Signed-off-by Miroslav Rezanina <[email protected]>Reviewed-by Peter Maydell <[email protected]>I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.
How come the mistake didn't break any of our CI ? Looks like it should have failed due to non-existing source file
Regards,
Daniel
Signature · 3 lines
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Quoted 12 lines · Daniel P. Berrangé
Quoted 10 lines · Peter Maydell
Quoted 8 lines · Miroslav Rezanina
Patch
6a7e2bbee5docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.Fixing wrong location so installation is successful.
Signed-off-by Miroslav Rezanina <[email protected]>
Quoted 8 lines
Quoted 5 lines
Reviewed-by Peter Maydell <[email protected]>I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.How come the mistake didn't break any of our CI ? Looks like it should have failed due to non-existing source file
I imagine all our CI setups use separate-build-dir and don't test 'make install'. This only shows up if you do build-in-source-tree and then 'make install'. (In a separate-build-dir setup, the MANUAL_BUILDDIR is the same as the actual build dir,
which is the same as make's current working directory, so forgetting it in the install rune doesn't matter. In a build from the source tree, Sphinx requires the output to be to a different directory than the source, so we have to create
a subdirectory to be the MANUAL_BUILDDIR.)
thanks
-- PMM
Quoted 13 lines · Peter Maydell
Quoted 12 lines · Daniel P. Berrangé
Quoted 10 lines · Peter Maydell
Quoted 8 lines · Miroslav Rezanina
Patch
6a7e2bbee5docs: add virtiofsd(1) man page introduced new man page virtiofsd.1. Unfortunately, wrong file location is used as source for install command. This cause installation of docs fail.Fixing wrong location so installation is successful.
Signed-off-by Miroslav Rezanina <[email protected]>
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
Reviewed-by Peter Maydell <[email protected]>I noticed this in review of v1 of the patch
https://patchew.org/QEMU/[email protected]/
but missed that it hadn't been fixed in v2/v3.How come the mistake didn't break any of our CI ? Looks like it should have failed due to non-existing source file
We stopped testing in-tree builds 2 months ago:
commit bc4486fb233573e77b6e9ad6d6379afb5e37ad8c
Author: Paolo Bonzini <[email protected]> Date: Wed Dec 11 15:33:49 2019 +0100
ci: build out-of-tree
Most developers are using out-of-tree builds and it was discussed
in the past
to only allow those. To prepare for the transition, use
out-of-tree builds
in all continuous integration jobs.
Quoted 14 lines
I imagine all our CI setups use separate-build-dir and don't test 'make install'. This only shows up if you do build-in-source-tree and then 'make install'. (In a separate-build-dir setup, the
MANUAL_BUILDDIRis the same as the actual build dir,
which is the same as make's current working directory, so forgetting it in the install rune doesn't matter. In a build from the source tree, Sphinx requires the output to be to a different directory than the source, so we have to create
a subdirectory to be theMANUAL_BUILDDIR.)thanks
-- PMM
Quoted 6 lines · Philippe Mathieu-Daudé
We stopped testing in-tree builds 2 months ago:
commit
bc4486fb233573e77b6e9ad6d6379afb5e37ad8cAuthor: Paolo Bonzini <[email protected]> Date: Wed Dec 11 15:33:49 2019 +0100
Quoted 7 lines
ci: build out-of-tree
Most developers are using out-of-tree builds and it was discussed
in the past
to only allow those. To prepare for the transition, use
out-of-tree builds
in all continuous integration jobs.
I'd missed that. Paolo, do you have a plan for following through and actively forbidding in-tree-builds, if that's the route we're taking ?
thanks
-- PMM
Quoted 9 lines · Peter Maydell
Quoted 8 lines · Philippe Mathieu-Daudé
We stopped testing in-tree builds 2 months ago:
commit
bc4486fb233573e77b6e9ad6d6379afb5e37ad8cAuthor: Paolo Bonzini <[email protected]> Date: Wed Dec 11 15:33:49 2019 +0100ci: build out-of-tree
Quoted 7 lines
Quoted 3 lines
Most developers are using out-of-tree builds and it was discussed in the past to only allow those. To prepare for the transition, use out-of-tree builds in all continuous integration jobs.
I'd missed that. Paolo, do you have a plan for following through and actively forbidding in-tree-builds, if that's the route we're taking ?
I can follow up on that, yes.
Paolo