status: Introduce tool to quickly check if we are booted as default
authorEric Curtin <ecurtin@redhat.com>
Fri, 5 Jan 2024 15:49:39 +0000 (15:49 +0000)
committerEric Curtin <ecurtin@redhat.com>
Fri, 5 Jan 2024 17:40:41 +0000 (17:40 +0000)
commit1397ee2b7a20c73853c8c80be59e20918f922d64
treec44a2a57d197ecc71bb2c56191f5fb2af5ee54d5
parentac8638f3e459697c0df8fe17dbcc7cf3925fef88
status: Introduce tool to quickly check if we are booted as default

Generally in ostree based systems you would expect to boot into
deployment 0, in rollback conditions triggered by greenboot-related
rollbacks this might not be the case. This is a tool to detect this.

Signed-off-by: Eric Curtin <ecurtin@redhat.com>
src/ostree/ot-admin-builtin-status.c