don't install root filters when Q_USE_ROOTWRAP is false
Change-Id: I2f6edfcfb3789310fbeea8a509e0d9a13428becc Closes-bug: #1495822
This commit is contained in:
parent
c756b5b5d4
commit
3d6eaae21c
@ -1165,6 +1165,9 @@ function _neutron_service_plugin_class_add {
|
||||
|
||||
# _neutron_deploy_rootwrap_filters() - deploy rootwrap filters to $Q_CONF_ROOTWRAP_D (owned by root).
|
||||
function _neutron_deploy_rootwrap_filters {
|
||||
if [[ "$Q_USE_ROOTWRAP" == "False" ]]; then
|
||||
return
|
||||
fi
|
||||
local srcdir=$1
|
||||
sudo install -d -o root -m 755 $Q_CONF_ROOTWRAP_D
|
||||
sudo install -o root -m 644 $srcdir/etc/neutron/rootwrap.d/* $Q_CONF_ROOTWRAP_D/
|
||||
|
Loading…
x
Reference in New Issue
Block a user