diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2017-02-28 23:28:18 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2017-02-28 23:28:18 +0300 |
commit | 1603890bae80a36b8e639289206013b90f87c80a (patch) | |
tree | e8c0bc6ddb21adc12dbf047e0c2d36213d5b8b2f /meta-phosphor/common/recipes-phosphor/leds | |
parent | fbd18ca517665fd03ad4ddc79348f052204d4bf0 (diff) | |
download | openbmc-1603890bae80a36b8e639289206013b90f87c80a.tar.xz |
led-manager: fix install destination for configs
Change-Id: Ib9f511441dc2475baf575cd610c96b67cc3af8bb
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/leds')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-example-native.bb | 2 | ||||
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-mrw-native.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-example-native.bb b/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-example-native.bb index 2300e04137..8b3703d98f 100644 --- a/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-example-native.bb +++ b/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-example-native.bb @@ -10,6 +10,6 @@ S = "${WORKDIR}/git" # Copies example led layout yaml file do_install() { SRC=${S} - DEST=${STAGING_DATADIR_NATIVE}/phosphor-led-manager + DEST=${D}${datadir}/phosphor-led-manager install -D ${SRC}/led.yaml ${DEST}/led.yaml } diff --git a/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-mrw-native.bb b/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-mrw-native.bb index a43b8129bc..b88dedcd98 100644 --- a/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-mrw-native.bb +++ b/meta-phosphor/common/recipes-phosphor/leds/phosphor-led-manager-config-mrw-native.bb @@ -10,7 +10,7 @@ DEPENDS += "mrw-native mrw-perl-tools-native" # Generate a YAML files based on MRW input do_install_append() { USE_MRW="${@cf_enabled(d, 'obmc-mrw', 'yes')}" - DEST=${STAGING_DATADIR_NATIVE}/phosphor-led-manager + DEST=${D}${datadir}/phosphor-led-manager if [ "${USE_MRW}" = "yes" ]; then install -d ${DEST}/ |