diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2021-08-06 19:25:30 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2021-08-11 20:28:12 +0300 |
commit | b96c75046da8f72359d101c813f0694409bbe0d1 (patch) | |
tree | ab68b1d00b439d9a09f5b6743e8a8bfa1e8e7087 /meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend | |
parent | 8c6707f0dcab30d2c0d818b455b030b5d7e7091c (diff) | |
download | openbmc-b96c75046da8f72359d101c813f0694409bbe0d1.tar.xz |
meta-ibm: prep for new override syntax
Change-Id: I9116ed7260e369136acb39eec15075db2d4dbeba
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend')
-rw-r--r-- | meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend b/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend index 96a97b040d..57fb62b351 100644 --- a/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend +++ b/meta-ibm/recipes-phosphor/leds/phosphor-led-manager_%.bbappend @@ -1,19 +1,19 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -SYSTEMD_SERVICE_${PN}_append_p10bmc += "obmc-led-set-all-groups-asserted@.service obmc-led-create-virtual-leds@.service" +SYSTEMD_SERVICE:${PN}:append:p10bmc += "obmc-led-set-all-groups-asserted@.service obmc-led-create-virtual-leds@.service" # Copies config file having arguments for led-set-all-groups-asserted.sh -SYSTEMD_ENVIRONMENT_FILE_${PN}_append_p10bmc +="obmc/led/set-all/groups/config" +SYSTEMD_ENVIRONMENT_FILE_${PN}:append:p10bmc +="obmc/led/set-all/groups/config" # Use the JSON configuration file at runtime than the static led.yaml # Also, enable Lamp Test and OperationalStatus monitor feature for # p10bmc systems -PACKAGECONFIG_append_p10bmc = " use-json use-lamp-test monitor-operational-status" +PACKAGECONFIG:append:p10bmc = " use-json use-lamp-test monitor-operational-status" # Install the lamp test override file for p10bmc -SRC_URI_append_p10bmc = " file://lamp-test-led-overrides.json" +SRC_URI:append:p10bmc = " file://lamp-test-led-overrides.json" -pkg_postinst_${PN}_p10bmc () { +pkg_postinst:${PN}:p10bmc () { # Needed this to run as part of BMC boot mkdir -p $D$systemd_system_unitdir/multi-user.target.wants @@ -40,7 +40,7 @@ pkg_postinst_${PN}_p10bmc () { ln -s $TARGET_ID $LINK_ID } -pkg_prerm_${PN}_p10bmc () { +pkg_prerm:${PN}:p10bmc () { LINK="$D$systemd_system_unitdir/multi-user.target.wants/obmc-led-set-all-groups-asserted@false.service" rm $LINK @@ -56,7 +56,7 @@ pkg_prerm_${PN}_p10bmc () { } # Install lamp test override json -do_install_append_p10bmc() { +do_install:append:p10bmc() { install -d ${D}${datadir}/${BPN}/ install -m 0644 ${WORKDIR}/lamp-test-led-overrides.json ${D}${datadir}/${BPN}/ } |