Following changes implemented:
- pkg-config is required for building recent version of LTP [1]
- do not try to re-create vuls directory
[1] https://github.com/linux-test-project/ltp/issues/649
JIRA: VAL-100
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
Change-Id: Ib6050dead7e296306ed3f860797fdf6b3944fb43
sqlite3 \
debian-goodies \
build-essential \
+ pkg-config \
autoconf automake autotools-dev m4 \
linux-headers-generic \
libaio-dev libattr1-dev libcap-dev
git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/go-cve-dictionary.git && \
cd /root/go/src/github.com/kotakanbe/go-cve-dictionary/ && \
make install && \
- mkdir /opt/akraino/validation/tests/os/vuls/ && \
for i in $(seq 2002 "$(date +"%Y")"); do go-cve-dictionary fetchnvd -http-proxy=${HTTP_PROXY} -dbpath /opt/akraino/validation/tests/os/vuls/cve.sqlite3 -years "$i"; done && \
git -C /root/go/src/github.com/kotakanbe clone https://github.com/kotakanbe/goval-dictionary.git && \
cd /root/go/src/github.com/kotakanbe/goval-dictionary && \