commit | a3dc550e57470746a049356c99e3d6df0ed096c7 | [log] [tgz] |
---|---|---|
author | Charles Boyer <Charles.Boyer@fii-usa.com> | Fri Oct 29 16:39:16 2021 -0500 |
committer | Charles Boyer <Charles.Boyer@fii-usa.com> | Thu Nov 11 16:08:16 2021 +0000 |
tree | 48730d36df8ffd03c1a0322797410b4026c25482 | |
parent | 962fa6a37db32335fb6584fe1746c426544fd0b4 [diff] [blame] |
meta-fii/meta-kudo: Add power button support Adds support for Power On for power button press and Power Off when holding the power button. This is a temporary and rudimentary method to handle button presses. The intention is to eventually use phosphor-buttons with Nuvoton support. Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: Iede64f89c716102a688880280c11ff7f3068021b
diff --git a/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot/init_once.sh b/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot/init_once.sh index b87f12d..55661df 100644 --- a/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot/init_once.sh +++ b/meta-fii/meta-kudo/recipes-kudo/kudo-sys-utility/kudo-boot/init_once.sh
@@ -64,3 +64,6 @@ i2cset -y -a -f 16 0x6a 11 1 0x01 i i2cset -y -a -f 17 0x67 1 2 0x3f 0x0c i fi + +# Create /run/openbmc for system power files +mkdir "/run/openbmc"