summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb')
-rw-r--r--meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
index bdd95df82..ca9471ea5 100644
--- a/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
@@ -26,6 +26,7 @@ SYSTEMD_PACKAGES = ""
PACKAGECONFIG[verify_signature] = "--enable-verify_signature,--disable-verify_signature"
PACKAGECONFIG[sync_bmc_files] = "--enable-sync_bmc_files,--disable-sync_bmc_files"
PACKAGECONFIG[ubifs_layout] = "--enable-ubifs_layout"
+PACKAGECONFIG[flash_bios] = "--enable-host_bios_upgrade"
inherit autotools pkgconfig
inherit obmc-phosphor-dbus-service
@@ -34,10 +35,11 @@ inherit ${@bb.utils.contains('DISTRO_FEATURES', 'obmc-ubi-fs', 'phosphor-softwar
DEPENDS += " \
autoconf-archive-native \
- sdbusplus \
+ openssl \
phosphor-dbus-interfaces \
phosphor-logging \
sdbus++-native \
+ sdbusplus \
"
RDEPENDS_${PN}-updater += " \
@@ -74,6 +76,8 @@ SYSTEMD_SERVICE_${PN}-updater += " \
usr-local.mount \
"
+SYSTEMD_SERVICE_${PN}-updater += "${@bb.utils.contains('PACKAGECONFIG', 'flash_bios', 'obmc-flash-host-bios@.service', '', d)}"
+
S = "${WORKDIR}/git"
do_install_append() {