common: host power utility: add host-state-transition-timeout option

Introduce a configurable host-state-transition-timeout to control
how long the utility waits for a host state change. The previous 12s
timeout was insufficient for a graceful power off, leading to false
timeout errors.

This option is used by the bios-software-update service to control
the host state transition timeout when turning the host off and on
before and after a BIOS update.

Change-Id: I9209d8f06f55eaf181235198c20c32c93861f841
Signed-off-by: Kevin Tung <kevin.tung.openbmc@gmail.com>
diff --git a/meson.options b/meson.options
index 32c88c2..a193983 100644
--- a/meson.options
+++ b/meson.options
@@ -210,3 +210,10 @@
     value: '/run/media/rwfs-alt/cow',
     description: 'The dir for alt-rwfs partition.',
 )
+
+option(
+    'host-state-transition-timeout',
+    type: 'integer',
+    value: 60,
+    description: 'Timeout for host state transition.',
+)