Add collection of timezone info to collect

This update adds a call to timedatectl to collect_host

Test Plan:

PASS: Verify build collector package
PASS: Verify timedatectl output is added to collect bundle

Closes-Bug: 2037669
Change-Id: I4d5c46efe04b38f4e8f6f9d548e00d60762efcf0
Signed-off-by: Lance Xu <lance.xu@windriver.com>
This commit is contained in:
Lance Xu 2023-09-29 10:55:08 -04:00
parent d56120d377
commit 3fe32f8f1a

View File

@ -183,6 +183,9 @@ function collect_extra()
delimiter ${LOGFILE} "${BUILD_INFO_CMD}"
${BUILD_INFO_CMD} >> ${LOGFILE}
delimiter ${LOGFILE} "timedatectl"
timedatectl >> ${LOGFILE} 2>>${COLLECT_ERROR_LOG}
delimiter ${LOGFILE} "uptime"
uptime >> ${LOGFILE} 2>>${COLLECT_ERROR_LOG}