summaryrefslogtreecommitdiff
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorGurucharan Shetty <guru@ovn.org>2019-05-02 23:38:30 -0700
committerGurucharan Shetty <guru@ovn.org>2019-05-14 01:02:46 -0700
commitdcd0f1e8779c6623188f1a36753242e27db06cbb (patch)
treeb0ef901e0bbfb43ade73795d876200258c12c972 /.cirrus.yml
parentd58b59c17c70137aebdde37d3c01c26a26b28519 (diff)
downloadopenvswitch-dcd0f1e8779c6623188f1a36753242e27db06cbb.tar.gz
fedora: Ability to auto enable openvswitch service.
We currently have rhel/openvswitch.spec.in that automatically enables openvswitch service when the package is installed using chkconfig. But fedora rpm may not enable openvswitch service automatically. The macro currently being used in fedora rpm (systemd_post) will look for preset files in /etc/systemd/system-preset/ to figure out whether openvswitch service needs to be automatically enabled. But, the fedora package does not provide such a file. The argument is that people may want to install the package for binaries and not necessarily to run OVS. If someone now wants to install the fedora package and automatically enable openvswitch, he will have to create a new package that OVS package depends on to install the preset file. This is unwieldy. This commit, provides a rpm build time option to enable the openvswitch service automatically. If you now run the below command, openvswitch service will be automatically enabled during package installation. make rpm-fedora RPMBUILD_OPT="--with autoenable" Signed-off-by: Gurucharan Shetty <guru@ovn.org> Acked-by: Ansis Atteka <aatteka@ovn.org>
Diffstat (limited to '.cirrus.yml')
0 files changed, 0 insertions, 0 deletions