Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Dev upstream #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
project (node-manager-proxy CXX)
set (CMAKE_CXX_STANDARD 17)
set (CMAKE_CXX_STANDARD 20)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fno-rtti")
Expand Down Expand Up @@ -40,4 +40,4 @@ link_directories (${EXTERNAL_INSTALL_LOCATION}/lib)
set (SERVICE_FILES ${PROJECT_SOURCE_DIR}/node-manager-proxy.service)

install (TARGETS ${PROJECT_NAME} DESTINATION sbin)
install (FILES ${SERVICE_FILES} DESTINATION /lib/systemd/system/)
install (FILES ${SERVICE_FILES} DESTINATION /usr/lib/systemd/system/)
2 changes: 2 additions & 0 deletions NodeManagerProxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ void createAssociations()
*/
int main(int argc, char *argv[])
{
server.add_manager("/xyz/openbmc_project/sensors");

conn->request_name(nmdBus);
createSensors();
createAssociations();
Expand Down
1 change: 1 addition & 0 deletions NodeManagerProxy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* limitations under the License.
*/

#include <boost/container/flat_map.hpp>
#include <boost/container/flat_set.hpp>
#include <phosphor-logging/log.hpp>
#include <sdbusplus/asio/object_server.hpp>
Expand Down