diff options
author | Riku Nomoto <riku_nomoto@mail.toyota.co.jp> | 2020-11-21 16:55:41 +0900 |
---|---|---|
committer | Riku Nomoto <riku_nomoto@mail.toyota.co.jp> | 2020-11-21 16:55:41 +0900 |
commit | e074c24705f5ffeb4b5772db47946726bbc917ec (patch) | |
tree | deee17294579a9e680a8edee3fa4c3c7c2b2d92a | |
parent | 4663049536b40bdb46970448edeb95a9b4645dd8 (diff) |
Revise PATH
/ramd → /var/local/lib/basesystem/ramd
Signed-off-by: Riku Nomoto <riku_nomoto@mail.toyota.co.jp>
8 files changed, 23 insertions, 23 deletions
diff --git a/agl-systemd/tool_9E_SI/setup_refhw.sh b/agl-systemd/tool_9E_SI/setup_refhw.sh index 6041140..62dd3d8 100755 --- a/agl-systemd/tool_9E_SI/setup_refhw.sh +++ b/agl-systemd/tool_9E_SI/setup_refhw.sh @@ -33,10 +33,10 @@ echo "AREA=$VEHICLEPARAMETERLIBRARY_AREA" >> /tmp/udev_device.env ## For btservice initial data. #chown -R agl:agl /nv/backup/D_BK_CA_BT_MANAGEMENT ## Sprint 29 PFDRECThread -mkdir -p /ramd/BS/ns/backup_manager/rwdata -mkdir -p /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/diag -restorecon -R /ramd -#chmod 777 /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/diag +mkdir -p /var/local/lib/basesystem/ramd/BS/ns/backup_manager/rwdata +mkdir -p /var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/diag +restorecon -R /var/local/lib/basesystem/ramd +#chmod 777 /var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/diag ## Sprint 29 communication #chmod -R 777 /home/root/.app_can_d # TODO:for bluetooth_service diff --git a/hal/nv_hal/src/nv_hal.cpp b/hal/nv_hal/src/nv_hal.cpp index d746ea0..718b951 100755 --- a/hal/nv_hal/src/nv_hal.cpp +++ b/hal/nv_hal/src/nv_hal.cpp @@ -30,7 +30,7 @@ */ const char *kMediaType[NVHALMEDIA_MAX] = { "/tmp/bkup/", - "/ramd/BS/ns/backup_manager/rwdata/", + "/var/local/lib/basesystem/ramd/BS/ns/backup_manager/rwdata/", "/nv/BS/ns/backup_manager/rwdata/", }; diff --git a/service/native/framework_unified/client/include/native_service/ns_logger_if.h b/service/native/framework_unified/client/include/native_service/ns_logger_if.h index a1ca9ef..e67c543 100755 --- a/service/native/framework_unified/client/include/native_service/ns_logger_if.h +++ b/service/native/framework_unified/client/include/native_service/ns_logger_if.h @@ -164,7 +164,7 @@ typedef struct _TNS_EnableRcsLogging { /// None /// \~english @par Conditions of processing failure /// - Real-time log output switch can be turn on by NsLogSetRealtimeLog() generally. -/// But in case of FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_FREEZE real-time log and/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog /will not print out +/// But in case of FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_FREEZE real-time log and/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog /will not print out /// \~~english @par /// - in the following conditions,real-time log will not print out: /// - log output way is LPRINT but f_uiZoneIndex parameter is in [96 to 127] @@ -187,7 +187,7 @@ typedef struct _TNS_EnableRcsLogging { /// - log output way is LPRINT,real-time log output setting is /// FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_USB_DISABLE /// \~english @par -/// in the following conditions /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ log can not be print out +/// in the following conditions /var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ log can not be print out /// - log file for parameter f_uiZoneIndex and /// log file for parameter FrameworkunifiedLogFlagId which is set by FRAMEWORKUNIFIEDLOG parameter can not be found /// - the ring_buffer of log file(log file for FrameworkunifiedLogFlagId which is set by FRAMEWORKUNIFIEDLOG parameter when @@ -235,7 +235,7 @@ __attribute__((format(printf, 4, 5))) /// None /// \~english @par Conditions of processing failure /// - Real-time log output switch can be turn on by NsLogSetRealtimeLog() generally. -/// But in case of FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_FREEZE real-time log and/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog /will not print out +/// But in case of FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_FREEZE real-time log and/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog /will not print out /// \~~english @par /// - in the following conditions,real-time log will not print out: /// - log output way is LPRINT but f_uiZoneIndex parameter is in [96 to 127] @@ -258,7 +258,7 @@ __attribute__((format(printf, 4, 5))) /// - log output way is LPRINT,real-time log output setting is /// FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_USB_DISABLE /// \~english @par -/// in the following conditions /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ log can not be print out +/// in the following conditions /var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ log can not be print out /// - log file for parameter f_uiZoneIndex and /// log file for parameter FrameworkunifiedLogFlagId which is set by FRAMEWORKUNIFIEDLOG parameter can not be found /// - the ring_buffer of log file(log file for FrameworkunifiedLogFlagId which is set by FRAMEWORKUNIFIEDLOG parameter when @@ -295,7 +295,7 @@ void NsLog0(const UI_16 p_lLine_i, // Line number where message was gener /// None /// \~english @par Conditions of processing failure /// - Real-time log output switch can be turn on by NsLogSetRealtimeLog() generally. -/// But in case of FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_FREEZE real-time log and/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog /will not print out +/// But in case of FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_FREEZE real-time log and/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog /will not print out /// \~~english @par /// - in the following conditions,real-time log will not print out: /// - log output way is LPRINT but f_uiZoneIndex parameter is in [96 to 127] @@ -318,7 +318,7 @@ void NsLog0(const UI_16 p_lLine_i, // Line number where message was gener /// - log output way is LPRINT,real-time log output setting is /// FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_USB_DISABLE /// \~english @par -/// in the following conditions /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ log can not be print out +/// in the following conditions /var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ log can not be print out /// - log file for parameter f_uiZoneIndex and /// log file for parameter FrameworkunifiedLogFlagId which is set by FRAMEWORKUNIFIEDLOG parameter can not be found /// - the ring_buffer of log file(log file for FrameworkunifiedLogFlagId which is set by FRAMEWORKUNIFIEDLOG parameter when @@ -366,7 +366,7 @@ void NsLogTime(const UI_16 f_uiZoneIndex, /// \~english @par Detail /// the difference bewteen NsLog and NsLogData: /// - NsLog()will print out real-time log -/// NsLogData() will not print out real-time log but noly print out logs under /ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ +/// NsLogData() will not print out real-time log but noly print out logs under /var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/ /// - NsLog() will add ZoneIndex, process name, real-time info to log but /// NsLogData() only print out log /// \~english @par Classification diff --git a/service/native/log_library/client/include/native_service/loglibrarylog_if.h b/service/native/log_library/client/include/native_service/loglibrarylog_if.h index 5bf90c3..a774fce 100755 --- a/service/native/log_library/client/include/native_service/loglibrarylog_if.h +++ b/service/native/log_library/client/include/native_service/loglibrarylog_if.h @@ -34,8 +34,8 @@ #define __LOGLIBRARYLOG_IF_H__ #define FRAMEWORKUNIFIEDLOG_SHARED_MEM_NAME "loglibrarylogconfig.cfg" -#define FRAMEWORKUNIFIEDLOG_RAMDISC_NAME "/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/frameworkunified_debug.log" -#define FRAMEWORKUNIFIEDLOG_RAMDISC_PATH "/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog" +#define FRAMEWORKUNIFIEDLOG_RAMDISC_NAME "/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/frameworkunified_debug.log" +#define FRAMEWORKUNIFIEDLOG_RAMDISC_PATH "/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog" // Out put mode #define FRAMEWORKUNIFIEDLOG_FLAG_MODE_DEBUG 1 // Debug diff --git a/service/system/interface_unified/library/include/system_service/ss_logger_store_logs.h b/service/system/interface_unified/library/include/system_service/ss_logger_store_logs.h index 7c68fd9..b0211d6 100755 --- a/service/system/interface_unified/library/include/system_service/ss_logger_store_logs.h +++ b/service/system/interface_unified/library/include/system_service/ss_logger_store_logs.h @@ -42,7 +42,7 @@ #ifdef _cplusplus extern "C" { #endif -#define SS_LOGGER_SAVE_INTERFACEUNIFIEDLOG_FLAG "/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/SS_LOGGER_SAVE_INTERFACEUNIFIEDLOG_FLAG" +#define SS_LOGGER_SAVE_INTERFACEUNIFIEDLOG_FLAG "/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/SS_LOGGER_SAVE_INTERFACEUNIFIEDLOG_FLAG" typedef enum { SS_STORELOGS_INTERFACEUNIFIEDLOG = 0, diff --git a/service/system/interface_unified/scfg/ss_logger.cfg b/service/system/interface_unified/scfg/ss_logger.cfg index ffb4c50..8cfa13d 100755 --- a/service/system/interface_unified/scfg/ss_logger.cfg +++ b/service/system/interface_unified/scfg/ss_logger.cfg @@ -24,27 +24,27 @@ ExternalLogMax=20 # "Remove" is removed or not after it is archived [EXTERNAL_1] -ExtLogPath=/ramd/log/frameworkunifiedlog/radio +ExtLogPath=/var/local/lib/basesystem/ramd/log/frameworkunifiedlog/radio OutputPath=radio Remove=false [EXTERNAL_2] -ExtLogPath=/ramd/log/frameworkunifiedlog/connectivity +ExtLogPath=/var/local/lib/basesystem/ramd/log/frameworkunifiedlog/connectivity OutputPath=connectivity Remove=false [EXTERNAL_3] -ExtLogPath=/ramd/log/frameworkunifiedlog/graphics.log +ExtLogPath=/var/local/lib/basesystem/ramd/log/frameworkunifiedlog/graphics.log OutputPath=graphics.log Remove=false [EXTERNAL_4] -ExtLogPath=/ramd/log/frameworkunifiedlog/winsys.log +ExtLogPath=/var/local/lib/basesystem/ramd/log/frameworkunifiedlog/winsys.log OutputPath=winsys.log Remove=false [EXTERNAL_5] -ExtLogPath=/ramd/log/frameworkunifiedlog/appfw +ExtLogPath=/var/local/lib/basesystem/ramd/log/frameworkunifiedlog/appfw OutputPath=appfw Remove=false diff --git a/service/system/logger_service/server/include/ss_logger_common.h b/service/system/logger_service/server/include/ss_logger_common.h index 80a56af..3d7c3d5 100755 --- a/service/system/logger_service/server/include/ss_logger_common.h +++ b/service/system/logger_service/server/include/ss_logger_common.h @@ -45,7 +45,7 @@ const CHAR PERFORMANCE_LOG_PATH_FN[] = "/tmp/frameworkunified_performance.log"; const CHAR DRINITIAL_LOG_PATH_FN[] = "/tmp/loggerservice_drinitial.log"; const CHAR DRLOCATION_LOG_PATH_FN[] = "/tmp/loggerservice_drlocation.log"; const CHAR KERNEL_LOG_PATH_FN[] = "/tmp/kernel.log"; -const CHAR KERNEL_BOOT_LOG_PATH_FN[] = "/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/kernelboot.log"; +const CHAR KERNEL_BOOT_LOG_PATH_FN[] = "/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/kernelboot.log"; const UI_32 PERFORMANCELOG_FILE_SZ = 256 * 1024; diff --git a/service/system/logger_service/server/src/ss_logger_error_event_cfg.cpp b/service/system/logger_service/server/src/ss_logger_error_event_cfg.cpp index fcd733e..dd12fa2 100755 --- a/service/system/logger_service/server/src/ss_logger_error_event_cfg.cpp +++ b/service/system/logger_service/server/src/ss_logger_error_event_cfg.cpp @@ -66,8 +66,8 @@ const char LAF_MONTECARLO_FN[] = "/tmp/MonteCarlo"; const char LAF_METACORE_FN[] = "/tmp/MetaCore"; const char LAF_CMS_FN[] = "/tmp/cms"; const char LAF_INT_DTC_FN[] = "/tmp/dtc_error.log"; -const char LAF_LOGGERSERVICELOG_COM[] = "/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/communication"; -const char LAF_KERNEL_BOOT_FN[] = "/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/kernelboot.log"; +const char LAF_LOGGERSERVICELOG_COM[] = "/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/communication"; +const char LAF_KERNEL_BOOT_FN[] = "/var/local/lib/basesystem/ramd/BS/ss/logger_service/rwdata/frameworkunifiedlog/kernelboot.log"; const char LAF_PSTORELOG[] = "/dev/pstore"; #define ARTIFACT_BIT_ALL_OUTPUT_LOG (ARTIFACT_BIT_LOGGERSERVICE_DEBUG_LOG | \ |