Debian: collect ostree admin status
ostree admin status is useful to know for determining which deployment is active and unlocked. ostree admin status shows the deployments, and -v indicates the unlock status to see when people are making changes to the system Test Plan: - Build / Install ISO on AIO-SX Debian - run collect - verify ostree.info shows ostree info in collect logs Story: 2009969 Task: 45325 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: I233be9121f0940a6cf45d896cb14ac22aea75c96
This commit is contained in:
parent
e38f82f1c3
commit
5e33e9ba2d
@ -19,9 +19,20 @@ OSTREE_REF="starlingx"
|
||||
|
||||
echo "${hostname}: OSTREE Info .......: ${LOGFILE}"
|
||||
###############################################################################
|
||||
# OSTREE Info (logs for the sysroot and patch feeds)
|
||||
# OSTREE Info:
|
||||
###############################################################################
|
||||
|
||||
|
||||
###############################################################################
|
||||
# ostree admin status (deployment)
|
||||
# -v outputs additional data to stderr
|
||||
###############################################################################
|
||||
delimiter ${LOGFILE} "ostree admin status -v"
|
||||
ostree admin status -v >> ${LOGFILE} 2>&1
|
||||
|
||||
###############################################################################
|
||||
# ostree logs for the sysroot and patch feeds
|
||||
###############################################################################
|
||||
delimiter ${LOGFILE} "ostree log ${OSTREE_REF} --repo=${SYSROOT_REPO}"
|
||||
ostree log ${OSTREE_REF} --repo=${SYSROOT_REPO} >> ${LOGFILE} 2>>${COLLECT_ERROR_LOG}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user