[libvirt PATCH 266/351] meson: tools: install libvirt-guests sysconf file
Pavel Hrdina
phrdina at redhat.com
Tue Jul 28 08:41:47 UTC 2020
On Tue, Jul 28, 2020 at 10:32:20AM +0200, Peter Krempa wrote:
> On Thu, Jul 16, 2020 at 11:58:22 +0200, Pavel Hrdina wrote:
> > Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> > ---
> > tools/Makefile.am | 13 ++-----------
> > tools/meson.build | 8 ++++++++
> > 2 files changed, 10 insertions(+), 11 deletions(-)
>
> [...]
>
> > diff --git a/tools/meson.build b/tools/meson.build
> > index 446831557e1..b95ced3728b 100644
> > --- a/tools/meson.build
> > +++ b/tools/meson.build
> > @@ -261,3 +261,11 @@ configure_file(
> > install: true,
> > install_dir: libexecdir,
> > )
> > +
> > +if init_script == 'systemd'
> > + install_data(
> > + 'libvirt-guests.sysconf',
> > + install_dir: sysconfdir / 'sysconfig',
> > + rename: 'libvirt-guests',
> > + )
> > +endif
>
> Arguably it's data at this point as it doesn't need to be modified, but
> shouldn't we use the config_file directive for any config file?
If by 'config_file' you mean 'configure_file' I don't think so. There is
no need to copy it into build directory, it just needs to be installed.
Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200728/15accaab/attachment-0001.sig>
More information about the libvir-list
mailing list