Skip to content

Commit 3fad0d5

Browse files
committedOct 18, 2020
Fix meson dump logService build option
Currently 'redfish-sysdump-log' flag does not compiling Dump LogServices code. to fix compilation this commit uses 'BMCWEB_ENABLE_REDFISH_DUMP_LOG' Modified redfish-sysdump-log to redfish-dump-log as both BMC and System dump are enabled using this flag. Tested by: Compiled bmcweb with compilation flag with 'redfish-dump-log' Verfied Dump Logservices on bmc. Signed-off-by: Ravi Teja <[email protected]> Change-Id: Iaecad125d8a0acfda0b4357534a19580544b15e1
1 parent 9dedf57 commit 3fad0d5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎meson.build

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ feature_map = {
7070
'redfish-dbus-log' : '-DBMCWEB_ENABLE_REDFISH_DBUS_LOG_ENTRIES',
7171
'redfish-provisioning-feature' : '-DBMCWEB_ENABLE_REDFISH_PROVISIONING_FEATURE',
7272
'redfish-raw-peci' : '-DBMCWEB_ENABLE_REDFISH_RAW_PECI',
73-
'redfish-sysdump-log' : '-DBMCWEB_ENABLE_REDFISH_SYSTEMDUMP_LOG',
73+
'redfish-dump-log' : '-DBMCWEB_ENABLE_REDFISH_DUMP_LOG',
7474
'rest' : '-DBMCWEB_ENABLE_DBUS_REST',
7575
'insecure-sensor-override' : '-DBMCWEB_INSECURE_UNRESTRICTED_SENSOR_OVERRIDE',
7676
'static-hosting' : '-DBMCWEB_ENABLE_STATIC_HOSTING',

‎meson_options.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ option('static-hosting', type : 'feature', value : 'enabled', description : 'Ena
1111
option('redfish-bmc-journal', type : 'feature', value : 'disabled', description : 'Enable BMC journal access through Redfish. Paths are under \'/redfish/v1/Managers/bmc/LogServices/Journal\'.')
1212
option('redfish-raw-peci', type : 'feature', value : 'disabled', description : '''Enable PECI transactions through Redfish. Paths are under \/redfish/v1/Systems/system/LogServices/CpuLog/Actions/Oem/CpuLog.SendRawPeci\'.''')
1313
option('redfish-cpu-log', type : 'feature', value : 'disabled', description : '''Enable CPU log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/Crashdump'.''')
14-
option('redfish-sysdump-log', type : 'feature', value : 'disabled', description : '''Enable System dump log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/SystemDump\''')
14+
option('redfish-dump-log', type : 'feature', value : 'disabled', description : 'Enable Dump log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/Dump\'and \'/redfish/v1/Managers/bmc/LogServices/Dump\'')
1515
option('redfish-dbus-log', type : 'feature', value : 'disabled', description : 'Enable DBUS log service transactions through Redfish. Paths are under \'/redfish/v1/Systems/system/LogServices/EventLog/Entries\'')
1616
option('redfish-provisioning-feature', type : 'feature', value : 'disabled', description : 'Enable provisioning feature support in redfish. Paths are under \'/redfish/v1/Systems/system/\'')
1717
option('bmcweb-logging', type : 'feature', value : 'disabled', description : 'Enable output the extended debug logs')

0 commit comments

Comments
 (0)