osu: Add an option to print all board params 03/316003/14 accepted/tizen/unified/20250107.102105 accepted/tizen/unified/x/20250107.210555 accepted/tizen/unified/x/asan/20250113.002220
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 19 Dec 2024 07:57:01 +0000 (16:57 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Fri, 3 Jan 2025 06:00:47 +0000 (15:00 +0900)
commit9eb9b7a27585f779b2cc0be40b570c7d251bcd75
tree5ac02af32725c28b8ec4dfbc664ebee5e8aa7509
parent2c42104df53b8c3e1e3526d4ab3c18a83727fc72
osu: Add an option to print all board params

Add an option called --get-all-board-param to print all board parameters.
It will show all board parameter with instruction 'osu --get-all-board-param'.
It is the option for users who want to know all board parameters at once.
If the user want to know just one board parameter, then use 'osu --get-board-param'.
If the user want to know all board parameters, then use 'osu --get-all-board-param'

Example of the result of 'osu --get-all-board-param':
boot-mode: normal
current-partition: a
partition-ab-cloned: 1
partition-status: a: ok
partition-status: b: ok
upgrade-progress-status: 0
upgrade-state: standby
upgrade-type: offline

Change-Id: I41361b473a24f855af27a04560d74d74824562e3
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
packaging/update-control.spec
tools/osu/osu.c