summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-03-23 00:22:07 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-04 13:38:15 +0000
commit2f2163c1d6e4f6d0e004709e21f51ad20ee72ee4 (patch)
tree6903b7ef4f3eb058b91ffcaf163a9eeff63fde04 /meta-phosphor/common/recipes-phosphor
parenteca8d7cffc6437ca45ca33518b9e259ad2ef061f (diff)
downloadtalos-openbmc-2f2163c1d6e4f6d0e004709e21f51ad20ee72ee4.tar.gz
talos-openbmc-2f2163c1d6e4f6d0e004709e21f51ad20ee72ee4.zip
clear-once: Add missing dependency on u-boot
This script depends on u-boot-fw-utils so add it as a runtime dependency. Additionally allow u-boot-fw-utils to be provided by alternate recipes. Tested: Verified palmetto, qemu and witherspoon images build Change-Id: I7b0492d9237efa6e449d63b106320273bed63c98 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/clear-once/clear-once.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/clear-once/clear-once.bb b/meta-phosphor/common/recipes-phosphor/clear-once/clear-once.bb
index 89b83ce0d..79a7ecd77 100644
--- a/meta-phosphor/common/recipes-phosphor/clear-once/clear-once.bb
+++ b/meta-phosphor/common/recipes-phosphor/clear-once/clear-once.bb
@@ -1,5 +1,7 @@
SUMMARY = "Clear boot-once variables"
DESCRIPTION = "Clear u-boot variables used for one-time boot flow"
+RDEPENDS_${PN} = "${@d.getVar('PREFERRED_PROVIDER_u-boot-fw-utils', True) or 'u-boot-fw-utils'}"
+
inherit obmc-phosphor-systemd
inherit obmc-phosphor-license
OpenPOWER on IntegriCloud