Update collect tool with additional ostree commands

For debugging patching, we need an additional ostree command
output to be captured for the feed ostree repos
   - "ostree summary -v --repo=<feed repo>.
This commit adds this ostree command to the collect tool.

Test plan:
[PASS] ostree summary is collected for feed ostree repo

Story: 2009969
Task: 46992
Signed-off-by: Jessica Castelino <jessica.castelino@windriver.com>
Change-Id: I5021ba9948c84e8f7e5832b4a62714a69a4b2923
This commit is contained in:
Jessica Castelino 2022-12-02 21:59:38 +00:00
parent 5a653a9e4b
commit c9f7743ae1
1 changed files with 10 additions and 0 deletions

View File

@ -42,4 +42,14 @@ do
ostree log ${OSTREE_REF} --repo=${feed_dir} >> ${LOGFILE} 2>>${COLLECT_ERROR_LOG}
done
###############################################################################
# ostree repo summary for the feed ostrees
###############################################################################
for feed_dir in ${FEED_OSTREE_BASE_DIR}/*/ostree_repo
do
delimiter ${LOGFILE} "ostree summary -v --repo=${feed_dir}"
ostree summary -v --repo=${feed_dir} >> ${LOGFILE} 2>>${COLLECT_ERROR_LOG}
done
exit 0