diff options
author | Lei YU <mine260309@gmail.com> | 2018-04-19 08:56:05 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-04-25 02:44:43 +0300 |
commit | 67ae1b1056d9c18af98ba29d8651a4b7d3dc461a (patch) | |
tree | 6c71fc6e57c2d816d5fa1374148c8cd4e2488cbb /meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus | |
parent | cc54a04446397bf9823e17f01622b8cfae83b102 (diff) | |
download | openbmc-67ae1b1056d9c18af98ba29d8651a4b7d3dc461a.tar.xz |
phosphor-gpio-monitor: Add EXTRA_ARGS in service
This is a follow up commit of 1065559c, that is to use ${EXTRA_ARGS}
instead of "--continue=", so that this option becomes an optional one
without argument.
For services need extra arguments, e.g. Romulus' id-button service,
specify "--continue" in its config file.
Tested: Verify the generated gpio monitor service uses ${EXTRA_ARGS}
environment. On Romulus, checkstop monitor starts without extra
argument, and id_button monitor starts with --continue argument.
Change-Id: I09c5ad7f97f1a40caabfc9ae394e68798396dffe
Signed-off-by: Lei YU <mine260309@gmail.com>
Diffstat (limited to 'meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus')
-rw-r--r-- | meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/gpio/id-button/obmc/gpio/id_button | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/gpio/id-button/obmc/gpio/id_button b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/gpio/id-button/obmc/gpio/id_button index ee966a57c..b1963573f 100644 --- a/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/gpio/id-button/obmc/gpio/id_button +++ b/meta-openbmc-machines/meta-openpower/meta-ibm/meta-romulus/recipes-phosphor/gpio/id-button/obmc/gpio/id_button @@ -2,4 +2,4 @@ DEVPATH=/dev/input/by-path/platform-gpio-keys-event KEY=135 POLARITY=1 TARGET=id-button-pressed.service -CONTINUE=true +EXTRA_ARGS=--continue |