From 761d3a409fb8ddb3e01e1eded4aaab17bb4a155f Mon Sep 17 00:00:00 2001 From: Tadao Tanikawa Date: Sun, 22 Nov 2020 01:54:33 +0000 Subject: Fix path to various non-standard directories Fix path to non-standard directories, - /nv to /var/local/lib/basesystem/nv - /ramd to /var/local/lib/basesystem/ramd - /tool_9E_SI to /etc/basesystem - /usr/target to /etc/basesystem/target Signed-off-by: Tadao Tanikawa Change-Id: I42a54624230cb0ec0271f8cdbacb0b178c9f3e8e --- service/native/backup_manager/server/Makefile | 2 +- service/native/framework_unified/client/Makefile | 2 +- .../framework_unified/client/NS_Logger/src/ns_logger.cpp | 2 +- .../client/include/native_service/ns_logger_if.h | 6 +++--- .../client/include/native_service/ns_np_types.h | 4 ++-- .../client/include/native_service/loglibrarylog_if.h | 4 ++-- .../server/include/ns_npp_types.h | 2 +- .../include/system_service/ss_logger_store_logs.h | 2 +- service/system/interface_unified/scfg/ss_logger.cfg | 16 ++++++++-------- service/system/logger_service/server/Makefile | 2 +- .../logger_service/server/include/ss_logger_common.h | 4 ++-- .../logger_service/server/include/ss_logger_scrshot.h | 6 +++--- .../server/src/ss_logger_error_event_cfg.cpp | 8 ++++---- .../server/src/ss_logger_error_event_responses.cpp | 4 ++-- .../system/logger_service/server/src/ss_logger_util.cpp | 4 ++-- .../library/include/system_service/ss_sm_ram_access.h | 8 ++++---- .../library/rom/src/ss_sm_ram_access.cpp | 2 +- .../library/rom/src/ss_sm_rom_access.cpp | 2 +- service/system/system_manager/server/Makefile | 2 +- .../system_manager/server/src/ss_system_manager.cpp | 2 +- .../server/src/ss_system_manager_callbacks.cpp | 2 +- service/vehicle/positioning/server/src/Sensor/Makefile | 2 +- .../vehicle/positioning/server/src/Sensor/SensorLog.cpp | 2 +- .../vehicle/positioning_base_library/library/Makefile | 2 +- .../positioning_base_library/library/src/_pbOSCtrl.cpp | 4 ++-- 25 files changed, 48 insertions(+), 48 deletions(-) (limited to 'service') diff --git a/service/native/backup_manager/server/Makefile b/service/native/backup_manager/server/Makefile index 7f9fa39..6e1149f 100755 --- a/service/native/backup_manager/server/Makefile +++ b/service/native/backup_manager/server/Makefile @@ -62,6 +62,6 @@ CPPFLAGS += -DIMPL_AGL_APPLICATION_CALLBACKS_PRE_BACKGROUND install-data: install_data install_data: - install -d -m 755 $(DESTDIR)/nv/BS/ns/backup_manager/rwdata + install -d -m 755 $(DESTDIR)/var/local/lib/basesystem/nv/BS/ns/backup_manager/rwdata include ../../native_service.mk diff --git a/service/native/framework_unified/client/Makefile b/service/native/framework_unified/client/Makefile index b97ef4a..ce4b2dd 100755 --- a/service/native/framework_unified/client/Makefile +++ b/service/native/framework_unified/client/Makefile @@ -260,7 +260,7 @@ SUBDIRS := NS_XMLConfigeParser NS_Utility all: install-data:install_cfg - install -d -m 775 $(DESTDIR)/nv/BS/ns/framework_unified/rwdata + install -d -m 775 $(DESTDIR)/var/local/lib/basesystem/nv/BS/ns/framework_unified/rwdata install_cfg: install -d -m 775 $(DESTDIR)/etc/basesystem/BS/ns/framework_unified/rodata diff --git a/service/native/framework_unified/client/NS_Logger/src/ns_logger.cpp b/service/native/framework_unified/client/NS_Logger/src/ns_logger.cpp index 3d09650..941e6ef 100755 --- a/service/native/framework_unified/client/NS_Logger/src/ns_logger.cpp +++ b/service/native/framework_unified/client/NS_Logger/src/ns_logger.cpp @@ -110,7 +110,7 @@ FRAMEWORKUNIFIEDLOGSYSEVENTPARAM g_FrameworkunifiedLogSysEventParams = {FALSE}; #define FRAMEWORKUNIFIEDLOG_CONFIG__CWORD84__TMP "ns_logger_frameworkunifiedlog__CWORD84_.tmp" #define FRAMEWORKUNIFIEDLOG_CONFIG__CWORD84__NV "ns_logger_frameworkunifiedlog__CWORD84_.cfg" -#define FRAMEWORKUNIFIEDLOG_CONFIG_NV "/nv/BS/ns/framework_unified/rwdata/" +#define FRAMEWORKUNIFIEDLOG_CONFIG_NV "/var/local/lib/basesystem/nv/BS/ns/framework_unified/rwdata/" #define FRAMEWORKUNIFIEDLOG_CONFIG_TMP_NV "ns_logger_frameworkunifiedlog_tmp.cfg" #ifndef TN_LOGGERRTIME 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..e8eece6 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 @@ -761,9 +761,9 @@ EFrameworkunifiedStatus NsLogGetFrameworkunifiedLogFlag(UI_8 flag_id, UI_8 *mode /// \~english @par Detail /// set the real-time log output using the setting value.\n /// need to reboot during ROM start in order to switch to Ethernet output\n -/// /nv/BS/ns/framework_unified/rwdata/frameworkunifiedlog.ether file will be generated -/// when mode FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_ETHER /nv/BS/ns/framework_unified/rwdata/frameworkunifiedlog.ether\n -/// and /nv/BS/ns/framework_unified/rwdata/frameworkunifiedlog.ether file will be delated when mode is not FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_ETHER +/// /var/local/lib/basesystem/nv/BS/ns/framework_unified/rwdata/frameworkunifiedlog.ether file will be generated +/// when mode FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_ETHER /var/local/lib/basesystem/nv/BS/ns/framework_unified/rwdata/frameworkunifiedlog.ether\n +/// and /var/local/lib/basesystem/nv/BS/ns/framework_unified/rwdata/frameworkunifiedlog.ether file will be delated when mode is not FRAMEWORKUNIFIEDLOG_REALTIMELOG_MODE_ETHER /// \~english @par Classification /// Public /// \~english @par Type diff --git a/service/native/framework_unified/client/include/native_service/ns_np_types.h b/service/native/framework_unified/client/include/native_service/ns_np_types.h index 01559d9..d99a9ac 100755 --- a/service/native/framework_unified/client/include/native_service/ns_np_types.h +++ b/service/native/framework_unified/client/include/native_service/ns_np_types.h @@ -25,10 +25,10 @@ #define FRAMEWORK_UNIFIED_CLIENT_NS_NPSERVICEIF_INCLUDE_NS_NP_TYPES_H_ // Path of immediate notification data in NS_NPS version 1 -#define IMMEDIATE_PERSISTENCE_STORAGE_V1 "/nv/BS/ns/npp/rwdata/NPSNOR/" +#define IMMEDIATE_PERSISTENCE_STORAGE_V1 "/var/local/lib/basesystem/nv/BS/ns/npp/rwdata/NPSNOR/" // Path of immediate notification data in NS_NPS version 2 -#define IMMEDIATE_PERSISTENCE_STORAGE_V2 "/nv/BS/ns/npp/rwdata/" +#define IMMEDIATE_PERSISTENCE_STORAGE_V2 "/var/local/lib/basesystem/nv/BS/ns/npp/rwdata/" // name of persistence folder for persistent type categorization #define USERDATADIR "UserData/" // stores all the user data (all user common data as well as user specific data) 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/native/notification_persistent_service/server/include/ns_npp_types.h b/service/native/notification_persistent_service/server/include/ns_npp_types.h index 79a44d7..ae9fdcf 100755 --- a/service/native/notification_persistent_service/server/include/ns_npp_types.h +++ b/service/native/notification_persistent_service/server/include/ns_npp_types.h @@ -55,7 +55,7 @@ // name of NSNPS version file #define VERSION_TXT "version.txt" -#define STORAGE_PATH "/nv/BS/ns/npp/rwdata/" +#define STORAGE_PATH "/var/local/lib/basesystem/nv/BS/ns/npp/rwdata/" typedef enum ENPSLoadType { 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..3aa8cee 100755 --- a/service/system/interface_unified/scfg/ss_logger.cfg +++ b/service/system/interface_unified/scfg/ss_logger.cfg @@ -1,8 +1,8 @@ [LOGGING] LogMaxFileSize=5242880 PerformanceLogSize=262144 -EmmcOutputPath=/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog -EmmcOutputNaviLogPath=/nv/BS/ss/logger_service/rwdata/log2/awlog +EmmcOutputPath=/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog +EmmcOutputNaviLogPath=/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/log2/awlog Usb0MountPath=/mnt/sda1 Usb1MountPath=/mnt/sdb1 SdMountPath=/fs/sd0 @@ -24,32 +24,32 @@ 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 [EXTERNAL_6] -ExtLogPath=/nv/ptdata/sec/tomoyo +ExtLogPath=/var/local/lib/basesystem/nv/ptdata/sec/tomoyo OutputPath=tomoyo Remove=true diff --git a/service/system/logger_service/server/Makefile b/service/system/logger_service/server/Makefile index 5292a18..7f8f59b 100755 --- a/service/system/logger_service/server/Makefile +++ b/service/system/logger_service/server/Makefile @@ -23,6 +23,6 @@ all: install-data:install_data install_data: - install -d -m 755 $(DESTDIR)/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog + install -d -m 755 $(DESTDIR)/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog include ../../system_service.mk 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..758b62a 100755 --- a/service/system/logger_service/server/include/ss_logger_common.h +++ b/service/system/logger_service/server/include/ss_logger_common.h @@ -45,11 +45,11 @@ 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; -#define CLEAR_LOG_PATH_FN "/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog/" +#define CLEAR_LOG_PATH_FN "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/frameworkunifiedlog/" #define NULLCHAR '\0' #define DEBUG_USB_PATH "/mnt/sda1" diff --git a/service/system/logger_service/server/include/ss_logger_scrshot.h b/service/system/logger_service/server/include/ss_logger_scrshot.h index 5cc9dd9..4ac1fb6 100755 --- a/service/system/logger_service/server/include/ss_logger_scrshot.h +++ b/service/system/logger_service/server/include/ss_logger_scrshot.h @@ -22,9 +22,9 @@ #ifndef LOGGER_SERVICE_SERVER_INCLUDE_SS_LOGGER_SCRSHOT_H_ #define LOGGER_SERVICE_SERVER_INCLUDE_SS_LOGGER_SCRSHOT_H_ -#define JPEG_PATH_CH0 "/nv/BS/ss/logger_service/rwdata/screenShot/screen_shot_Ch0.jpeg" -#define JPEG_PATH_CH1 "/nv/BS/ss/logger_service/rwdata/screenShot/screen_shot_Ch1.jpeg" +#define JPEG_PATH_CH0 "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/screenShot/screen_shot_Ch0.jpeg" +#define JPEG_PATH_CH1 "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/screenShot/screen_shot_Ch1.jpeg" #define SCRSHOT_EXE_PATH "/usr/agl/bin/SS_ScrShot" -#define SCREEN_SHOT_PATH "/nv/BS/ss/logger_service/rwdata/screenShot" +#define SCREEN_SHOT_PATH "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/screenShot" #endif // LOGGER_SERVICE_SERVER_INCLUDE_SS_LOGGER_SCRSHOT_H_ 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..8c1e6cb 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 @@ -60,14 +60,14 @@ enum ARTIFACT_BIT { ////////////////////////////////////////////////////////////////////////////////////////// ///// Definition for Logging Artifact Filepaths ////////////////////////////////////////////////////////////////////////////////////////// -const char LAF_DEBUG_FOLDER[] = "/nv/BS/ss/logger_service/rwdata"; -const char LAF_DEBUG_FOLDER2[] = "/nv/BS/ss/logger_service/rwdata/log2"; +const char LAF_DEBUG_FOLDER[] = "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata"; +const char LAF_DEBUG_FOLDER2[] = "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/log2"; 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 | \ diff --git a/service/system/logger_service/server/src/ss_logger_error_event_responses.cpp b/service/system/logger_service/server/src/ss_logger_error_event_responses.cpp index dc23d8b..34f3d11 100755 --- a/service/system/logger_service/server/src/ss_logger_error_event_responses.cpp +++ b/service/system/logger_service/server/src/ss_logger_error_event_responses.cpp @@ -429,7 +429,7 @@ EFrameworkunifiedStatus CErrorEvent::OnClearAllLogRequest(HANDLE f_hApp) { clear_file_path.c_str()); } - clear_file_path = "/nv/BS/ss/logger_service/rwdata/log2/awlog/"; + clear_file_path = "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/log2/awlog/"; if (CFSDirectory::RemoveSubDirectory(clear_file_path)) { FRAMEWORKUNIFIEDLOG(ZONE_INFO, __FUNCTION__, "SS_Logger Clear %s directory delete successful.", @@ -440,7 +440,7 @@ EFrameworkunifiedStatus CErrorEvent::OnClearAllLogRequest(HANDLE f_hApp) { clear_file_path.c_str()); } - clear_file_path = "/nv/BS/ss/logger_service/rwdata/log2/core/"; + clear_file_path = "/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/log2/core/"; if (CFSDirectory::RemoveSubDirectory(clear_file_path)) { FRAMEWORKUNIFIEDLOG(ZONE_INFO, __FUNCTION__, "SS_Logger Clear %s directory delete successful.", diff --git a/service/system/logger_service/server/src/ss_logger_util.cpp b/service/system/logger_service/server/src/ss_logger_util.cpp index 6ac7225..0de6022 100755 --- a/service/system/logger_service/server/src/ss_logger_util.cpp +++ b/service/system/logger_service/server/src/ss_logger_util.cpp @@ -1019,8 +1019,8 @@ EFrameworkunifiedStatus CLoggerUtil::CopyUntyped(std::string f_source, } else if (0 != S_ISDIR(l_stat.st_mode)) { l_eStatus = CopyDirectory(f_source, f_destination); } else if (0 != S_ISLNK(l_stat.st_mode)) { - // avoid duplicate copy for eErrorEventTypeInterfaceunifiedEmmcLogs: /nv/log/awlog -> /nv/BS/ss/logger_service/rwdata/log2/awlog - if (f_source.find("/nv/BS/ss/logger_service/rwdata/awlog") == std::string::npos) { + // avoid duplicate copy for eErrorEventTypeInterfaceunifiedEmmcLogs: /var/local/lib/basesystem/nv/log/awlog -> /nv/BS/ss/logger_service/rwdata/log2/awlog + if (f_source.find("/var/local/lib/basesystem/nv/BS/ss/logger_service/rwdata/awlog") == std::string::npos) { l_eStatus = CopyDirectory(f_source, f_destination); } } else if (0 != S_ISREG(l_stat.st_mode)) { diff --git a/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h b/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h index f96966b..7a59bfc 100755 --- a/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h +++ b/service/system/rom_access_library/library/include/system_service/ss_sm_ram_access.h @@ -171,7 +171,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * - The change in the internal status does not occur by this API. * \~english @par Conditions of processing failure * - If p_boot_info is NULL [eFrameworkunifiedStatusFail] - * - If read data from secondary storage area or /nv/BS/ss/rom_access_library/rwdata/ramdata.dat + * - If read data from secondary storage area or /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat * failed [eFrameworkunifiedStatusFail] * \~english @par Classification: * Public @@ -179,7 +179,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * Sync only(None communication) * \~english @par Detail: * Copy the system information stored in the secondary storage area or - * in /nv/BS/ss/rom_access_library/rwdata/ramdata.dat to p_boot_info. \n + * in /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat to p_boot_info. \n * \~english @see setRamInfo */ EFrameworkunifiedStatus getRamInfo(RAM_SM_INFO_t* p_boot_info); @@ -214,7 +214,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * - The change in the internal status does not occur by this API. * \~english @par Conditions of processing failure * - If p_boot_info is NULL [eFrameworkunifiedStatusFail] - * - If write data to secondary storage area or /nv/BS/ss/rom_access_library/rwdata/ramdata.dat + * - If write data to secondary storage area or /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat * failed [eFrameworkunifiedStatusFail] * \~english @par Classification: * Public @@ -222,7 +222,7 @@ explicit RAM_AccessIf(RAM_WAKEUP_STATE wup_state = RAM_WAKEUP_STATE_DONT_CARE); * Sync only(None communication) * \~english @par Detail: * Write the system manegement information stored in p_boot_info to the - * secondary storage area or /nv/BS/ss/rom_access_library/rwdata/ramdata.dat. \n + * secondary storage area or /var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat. \n * \~english @see getRamInfo */ EFrameworkunifiedStatus setRamInfo(RAM_SM_INFO_t* p_boot_info); diff --git a/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp b/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp index b5cf244..d95a648 100755 --- a/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp +++ b/service/system/rom_access_library/library/rom/src/ss_sm_ram_access.cpp @@ -29,7 +29,7 @@ -#define RAM_PATH "/nv/BS/ss/rom_access_library/rwdata/ramdata.dat" +#define RAM_PATH "/var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata/ramdata.dat" #define RAM_OLD_PATH RAM_PATH".old" static const uint8_t kSigNature[] = { 0xDE, 0xAD, 0xBE, 0xEF }; static const uint8_t kMagic[] = { 0xDE, 0xAD, 0xBE, 0xEF }; diff --git a/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp b/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp index 53589c2..9994602 100755 --- a/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp +++ b/service/system/rom_access_library/library/rom/src/ss_sm_rom_access.cpp @@ -38,7 +38,7 @@ #include "ss_sm_checksum.h" #include "ss_rom_access_define.h" -#define ROM_ACCESS_DIR "/nv/BS/ss/rom_access_library/rwdata" +#define ROM_ACCESS_DIR "/var/local/lib/basesystem/nv/BS/ss/rom_access_library/rwdata" #define ROM_ACCESS_FILE "romdata.dat" const CHAR kDefaultRomDevice[] = ROM_ACCESS_DIR"/"ROM_ACCESS_FILE; const CHAR kRecoveryRomDevice[] = ROM_ACCESS_DIR"/"ROM_ACCESS_FILE".old"; diff --git a/service/system/system_manager/server/Makefile b/service/system/system_manager/server/Makefile index 9f50e80..d4cff62 100755 --- a/service/system/system_manager/server/Makefile +++ b/service/system/system_manager/server/Makefile @@ -110,7 +110,7 @@ install_data: $(SDKTARGETSYSROOT)/usr/share/basesystem/launch_xml2cfg.sh ./sm_launch.tmp.xml > ./sm_launch.cfg install -d -m 755 $(DESTDIR)/etc/basesystem/BS/ss/system_manager/rwdata install -m 644 ./sm_launch.cfg $(DESTDIR)/etc/basesystem/BS/ss/system_manager/rwdata - install -d -m 755 $(DESTDIR)/nv/BS/ss/system_manager/rwdata + install -d -m 755 $(DESTDIR)/var/local/lib/basesystem/nv/BS/ss/system_manager/rwdata install -d -m 755 $(DESTDIR)/usr/share/basesystem/BS/ss/system_manager/rodata install -m 644 ./version.txt $(DESTDIR)/usr/share/basesystem/BS/ss/system_manager/rodata install -m 644 ./PhaseInfo.txt $(DESTDIR)/usr/share/basesystem/BS/ss/system_manager/rodata diff --git a/service/system/system_manager/server/src/ss_system_manager.cpp b/service/system/system_manager/server/src/ss_system_manager.cpp index 8e26f23..0b5d07a 100755 --- a/service/system/system_manager/server/src/ss_system_manager.cpp +++ b/service/system/system_manager/server/src/ss_system_manager.cpp @@ -95,7 +95,7 @@ using namespace std; // NOLINT static CSystemManager g_oSystemManger; -#define SS_SM_TEMP_FILE_FOR_STORE_LOGS "/nv/BS/ss/system_manager/rwdata/sm_tempStoreLogs" +#define SS_SM_TEMP_FILE_FOR_STORE_LOGS "/var/local/lib/basesystem/nv/BS/ss/system_manager/rwdata/sm_tempStoreLogs" #define TR_USB_PATH "/usr/agl/bin/realtimeUsbLog" // \brief: public structure that is used for logging by NSLogger. diff --git a/service/system/system_manager/server/src/ss_system_manager_callbacks.cpp b/service/system/system_manager/server/src/ss_system_manager_callbacks.cpp index 2e597ce..2e32fc8 100755 --- a/service/system/system_manager/server/src/ss_system_manager_callbacks.cpp +++ b/service/system/system_manager/server/src/ss_system_manager_callbacks.cpp @@ -2000,7 +2000,7 @@ EFrameworkunifiedStatus CSystemManager::perform_force_reset(HANDLE hApp) { "NO NAVIDET!! but SendShutdownComp for FactReset"); CALL_AND_LOG_STATUS(send_shutdown_complete_response(hApp)); // LCOV_EXCL_BR_LINE 15: marco defined in ss_templates.h // NOLINT(whitespace/line_length) sleep(60); - } else if (access("/nv/BS/ss/system_manager/rwdata/ss_debug", F_OK) == 0) { + } else if (access("/var/local/lib/basesystem/nv/BS/ss/system_manager/rwdata/ss_debug", F_OK) == 0) { fprintf(stderr, "SS_SysManager/%s/NO NAVIDET!! but SendShutdownComp\n", __FUNCTION__); FRAMEWORKUNIFIEDLOG(ZONE_ERR, __FUNCTION__, "NO NAVIDET!! but SendShutdownComp"); CALL_AND_LOG_STATUS(send_shutdown_complete_response(hApp)); // LCOV_EXCL_BR_LINE 15: marco defined in ss_templates.h // NOLINT(whitespace/line_length) diff --git a/service/vehicle/positioning/server/src/Sensor/Makefile b/service/vehicle/positioning/server/src/Sensor/Makefile index 59e8c1f..5c0c525 100755 --- a/service/vehicle/positioning/server/src/Sensor/Makefile +++ b/service/vehicle/positioning/server/src/Sensor/Makefile @@ -173,7 +173,7 @@ CPPFLAGS += -Wformat LDFLAGS += INSTALL = install -CREATE_DIR = $(DESTDIR)/nv/BS/vs/positioning/rwdata +CREATE_DIR = $(DESTDIR)/var/local/lib/basesystem/nv/BS/vs/positioning/rwdata install-data: $(INSTALL) -d -m 775 $(CREATE_DIR) diff --git a/service/vehicle/positioning/server/src/Sensor/SensorLog.cpp b/service/vehicle/positioning/server/src/Sensor/SensorLog.cpp index eed514f..9dd22a4 100755 --- a/service/vehicle/positioning/server/src/Sensor/SensorLog.cpp +++ b/service/vehicle/positioning/server/src/Sensor/SensorLog.cpp @@ -78,7 +78,7 @@ typedef enum { #define SENSLOG_SEMAPHO_NAME ("SENSLOG_SEMAPHO") /* Semaphore name(MAX 32Byte) */ -#define SENSLOG_CONFIG_FILE_PATH_1 "/nv/BS/vs/positioning/rwdata/" /* Sensor log-Config filepath-1 */ +#define SENSLOG_CONFIG_FILE_PATH_1 "/var/local/lib/basesystem/nv/BS/vs/positioning/rwdata/" /* Sensor log-Config filepath-1 */ #define SENSLOG_CONFIG_FILE_PATH_2 "/mnt/sda1/" /* Sensor log-Config filepath-2 */ #define SENSLOG_CONFIG_FILE_NAME_SYS "POS_sys_log.cfg" /* Sensor log-Config filename-SYS */ #define SENSLOG_CONFIG_FILE_NAME_GPS "POS_gps_log.cfg" /* Sensor log-Config filename-GPS */ diff --git a/service/vehicle/positioning_base_library/library/Makefile b/service/vehicle/positioning_base_library/library/Makefile index c0aec5b..9265faa 100755 --- a/service/vehicle/positioning_base_library/library/Makefile +++ b/service/vehicle/positioning_base_library/library/Makefile @@ -80,7 +80,7 @@ LDLIBS += -Wl,-Bdynamic -lev LDFLAGS += -shared INSTALL = install -CREATE_DIR = $(DESTDIR)/nv/BS/vs/positioning_base_library/rwdata +CREATE_DIR = $(DESTDIR)/var/local/lib/basesystem/nv/BS/vs/positioning_base_library/rwdata install-data: $(INSTALL) -d -m 775 $(CREATE_DIR) diff --git a/service/vehicle/positioning_base_library/library/src/_pbOSCtrl.cpp b/service/vehicle/positioning_base_library/library/src/_pbOSCtrl.cpp index c38016a..0e71930 100755 --- a/service/vehicle/positioning_base_library/library/src/_pbOSCtrl.cpp +++ b/service/vehicle/positioning_base_library/library/src/_pbOSCtrl.cpp @@ -44,8 +44,8 @@ static u_int8 file_buf[FILE_OUT_LINE][1024]; static u_int16 line_size_buf[FILE_OUT_LINE]; /* Log destination selection (Activate the one you want to output.) */ -#define POS_GPS_R_LOGFILE_PATH "/nv/BS/vs/positioning_base_library/rwdata/Test_Pos_gps_read_data.txt" -#define POS_GPS_W_LOGFILE_PATH "/nv/BS/vs/positioning_base_library/rwdata/Test_Pos_gps_write_data.txt" +#define POS_GPS_R_LOGFILE_PATH "/var/local/lib/basesystem/nv/BS/vs/positioning_base_library/rwdata/Test_Pos_gps_read_data.txt" +#define POS_GPS_W_LOGFILE_PATH "/var/local/lib/basesystem/nv/BS/vs/positioning_base_library/rwdata/Test_Pos_gps_write_data.txt" #endif /* GPS_FUNC_DEBUG_MSG__CWORD71__FILE */ -- cgit 1.2.3-korg