]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: install libvirt sysctl file correctly
authorEric Blake <eblake@redhat.com>
Fri, 4 Jan 2013 21:21:59 +0000 (14:21 -0700)
committerEric Blake <eblake@redhat.com>
Mon, 7 Jan 2013 15:56:37 +0000 (08:56 -0700)
commita1fd56cb3057c45cffbf5d41eaf70a26d2116b20
tree3dc2f878ef0d2124b8ed916b72b521ccfc0ed55c
parent5ec4b22b777b4505d159c6e8d1631d4d774a7be7
build: install libvirt sysctl file correctly

https://bugzilla.redhat.com/show_bug.cgi?id=887017 reports that
even though libvirt attempts to set fs.aio-max-nr via sysctl,
the file was installed with the wrong name and gets ignored by
sysctl.  Furthermore, 'man systcl.d' recommends that packages
install into hard-coded /usr/lib/sysctl.d (even when libdir is
/usr/lib64), so that sysadmins can use /etc/sysctl.d for overrides.

* daemon/Makefile.am (install-sysctl, uninstall-sysctl): Use
correct location.
* libvirt.spec.in (network_files): Reflect this.
daemon/Makefile.am
libvirt.spec.in