mirror of
https://github.com/falcosecurity/falco.git
synced 2025-07-11 13:44:07 +00:00
Associate --validate with -V. (#334)
* Associate --validate with -V. This fixes https://github.com/draios/falco/issues/322. * Pin the version of libvirt-python to < 4.1.0 Evidently a recent libvirt-python has build problems on ubuntu. See https://bugs.launchpad.net/openstack-requirements/+bug/1753539. Pin to releases < 4.1.0 to avoid picking up the newer one that has the build failure.
This commit is contained in:
parent
ba6d6dbf9d
commit
eb4feed1b6
@ -17,6 +17,7 @@ install:
|
|||||||
- curl -Lo avocado-36.0-tar.gz https://github.com/avocado-framework/avocado/archive/36.0lts.tar.gz
|
- curl -Lo avocado-36.0-tar.gz https://github.com/avocado-framework/avocado/archive/36.0lts.tar.gz
|
||||||
- tar -zxvf avocado-36.0-tar.gz
|
- tar -zxvf avocado-36.0-tar.gz
|
||||||
- cd avocado-36.0lts
|
- cd avocado-36.0lts
|
||||||
|
- sed -e 's/libvirt-python>=1.2.9/libvirt-python>=1.2.9,<4.1.0/' < requirements.txt > /tmp/requirements.txt && mv /tmp/requirements.txt ./requirements.txt
|
||||||
- sudo -H pip install -r requirements.txt
|
- sudo -H pip install -r requirements.txt
|
||||||
- sudo python setup.py install
|
- sudo python setup.py install
|
||||||
- cd ../falco
|
- cd ../falco
|
||||||
|
@ -283,7 +283,7 @@ int falco_init(int argc, char **argv)
|
|||||||
{"pidfile", required_argument, 0, 'P' },
|
{"pidfile", required_argument, 0, 'P' },
|
||||||
{"unbuffered", no_argument, 0, 'U' },
|
{"unbuffered", no_argument, 0, 'U' },
|
||||||
{"version", no_argument, 0, 0 },
|
{"version", no_argument, 0, 0 },
|
||||||
{"validate", required_argument, 0, 0 },
|
{"validate", required_argument, 0, 'V' },
|
||||||
{"writefile", required_argument, 0, 'w' },
|
{"writefile", required_argument, 0, 'w' },
|
||||||
|
|
||||||
{0, 0, 0, 0}
|
{0, 0, 0, 0}
|
||||||
|
Loading…
Reference in New Issue
Block a user