Fix: Changing ObjectMapper root path for PFR

Changed root path of PFR service manager from '/' to
'/xyz/openbmc_project/pfr' for allow dynamically getting
service name from ObjectMapper under that object. This will
make sure the isolation of root patch specific for PFR.

Tested:
 Flashed image with change and saw PFR Manager
 service works fine.

Change-Id: Ic8e8a9786b2fb8a8a7cca036b6e0be16e3b5c460
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
diff --git a/service/src/mainapp.cpp b/service/src/mainapp.cpp
index c92a5d0..60ec796 100644
--- a/service/src/mainapp.cpp
+++ b/service/src/mainapp.cpp
@@ -329,7 +329,10 @@
     stateTimer = std::make_unique<boost::asio::steady_timer>(io);
     initTimer = std::make_unique<boost::asio::steady_timer>(io);
     conn->request_name("xyz.openbmc_project.PFR.Manager");
-    auto server = sdbusplus::asio::object_server(conn);
+    auto server = sdbusplus::asio::object_server(conn, true);
+    auto rootInterface = server.add_interface("/xyz/openbmc_project/pfr", "");
+    rootInterface->initialize();
+    server.add_manager("/xyz/openbmc_project/pfr");
 
     // Create PFR attributes object and interface
     pfrConfigObject = std::make_unique<intel::pfr::PfrConfig>(server, conn);