mirror of
https://dev.iopsys.eu/bbf/icwmp.git
synced 2025-12-10 07:44:41 +01:00
Fix pipeline (Install Network Data Model as plugin)
This commit is contained in:
parent
f16a9bcb52
commit
be6712567f
2 changed files with 16 additions and 1 deletions
|
|
@ -14,4 +14,8 @@ install_bbfdmd
|
|||
|
||||
#install WiFi Data Model as Plugin
|
||||
echo "Installing wifidmd as plugin"
|
||||
install_wifidmd_as_plugin
|
||||
install_wifidmd_as_plugin
|
||||
|
||||
#install Network Data Model as Plugin
|
||||
echo "Installing Network Data Model as plugin"
|
||||
install_netmngr_as_plugin
|
||||
|
|
@ -153,6 +153,17 @@ function install_wifidmd_as_plugin()
|
|||
exec_cmd cp -f /opt/dev/wifidmd/src/libdataelements.so /usr/share/bbfdm/plugins/
|
||||
}
|
||||
|
||||
function install_netmngr_as_plugin()
|
||||
{
|
||||
[ -d "/opt/dev/netmngr" ] && return 0
|
||||
|
||||
exec_cmd git clone https://dev.iopsys.eu/network/netmngr.git /opt/dev/netmngr
|
||||
|
||||
exec_cmd make -C /opt/dev/netmngr/src/ clean && make -C /opt/dev/netmngr/src/
|
||||
exec_cmd cp -f /opt/dev/netmngr/src/libnetmngr.so /usr/share/bbfdm/plugins/
|
||||
exec_cmd cp -f /opt/dev/netmngr/src/libinterface_stack.so /usr/share/bbfdm/plugins/
|
||||
}
|
||||
|
||||
function check_valgrind_xml() {
|
||||
echo "Checking memory leaks..."
|
||||
cp /tmp/memory-report.xml memory-report.xml
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue