From 07f531a044fdb2b7cd9f018ab0e859921de99863 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Sat, 24 Jul 2021 17:08:26 +0200 Subject: [PATCH] update core controller --- bsp_q7s/core/CoreController.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bsp_q7s/core/CoreController.cpp b/bsp_q7s/core/CoreController.cpp index dddc4c97..a46c74f1 100644 --- a/bsp_q7s/core/CoreController.cpp +++ b/bsp_q7s/core/CoreController.cpp @@ -269,7 +269,8 @@ ReturnValue_t CoreController::incrementAllocationFailureCount() { ReturnValue_t CoreController::versionFileInit() { std::string unameFileName = "/tmp/uname_version.txt"; - std::string unameCmd = "uname -a > " + unameFileName; + // TODO: No -v flag for now. If the kernel version is used, need to cut off first few letters + std::string unameCmd = "uname -mnrso > " + unameFileName; int result = std::system(unameCmd.c_str()); if(result != 0) { utility::handleSystemError(result, "CoreController::versionFileInit");