commit fb9d25eb53217e2cc58972e8a221ac1754563e46
Author: Lucas Alvares Gomes <email address hidden>
Date: Wed Nov 7 13:17:43 2018 +0000
DevStack: OVS: Only install kernel-* packages when needed
If the host OS is using an older kernel and invoke the compile_ovs
function from the DevStack OVS library (devstack/lib/ovs), that function
will try to install the kernel-dev and kernel-headers package even if
the "build_modules" parameter is set to False.
That could fail because the specific kernel-* packages for the version
of the kernel running may not be present in the distro's repository
anymore. Plus, if the kernel modules will not be compiled, there's no
reason to install such packages.
This patch is fixing this problem by using the "build_modules" parameter
as a flag to whether install or not those kernel-* packages.
Change-Id: I11af0e22d25973e6334e867ab2659fbdf9f10d86
Closes-Bug: #1802101
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit cdfeeaf2bcd422c1b5cbb9d9ccc49ec639f5abea)
Reviewed: https:/ /review. openstack. org/619711 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=fb9d25eb532 17e2cc58972e8a2 21ac1754563e46
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit fb9d25eb53217e2 cc58972e8a221ac 1754563e46
Author: Lucas Alvares Gomes <email address hidden>
Date: Wed Nov 7 13:17:43 2018 +0000
DevStack: OVS: Only install kernel-* packages when needed
If the host OS is using an older kernel and invoke the compile_ovs
function from the DevStack OVS library (devstack/lib/ovs), that function
will try to install the kernel-dev and kernel-headers package even if
the "build_modules" parameter is set to False.
That could fail because the specific kernel-* packages for the version
of the kernel running may not be present in the distro's repository
anymore. Plus, if the kernel modules will not be compiled, there's no
reason to install such packages.
This patch is fixing this problem by using the "build_modules" parameter
as a flag to whether install or not those kernel-* packages.
Change-Id: I11af0e22d25973 e6334e867ab2659 fbdf9f10d86 1b5cbb9d9ccc49e c639f5abea)
Closes-Bug: #1802101
Signed-off-by: Lucas Alvares Gomes <email address hidden>
(cherry picked from commit cdfeeaf2bcd422c