diff options
author | Vijay Khemka <vijaykhemka@fb.com> | 2020-02-03 22:49:15 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2020-02-16 21:58:42 +0300 |
commit | e56cb1bcce4f8f361841edfd8e1aff4e16343b29 (patch) | |
tree | 4aed37db5d5fccc618bf3722f82766fbf3dd64a0 | |
parent | aa548dec1e8bcd114ce36065ffa142afb129f28a (diff) | |
download | openbmc-e56cb1bcce4f8f361841edfd8e1aff4e16343b29.tar.xz |
Add systemd unit file for bios upgrade
Added a sample bios upgrade systemd unit file as a part of image updater.
user needs to add packageconfig flash_bios in bbappend file for using bios
upgrade feature.
(From meta-phosphor rev: 02e44290c070c286e00a2fbd1bdbc18c57163e60)
Change-Id: I5f064de448ed50c547a7f6290eab783294f9b706
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
-rw-r--r-- | meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb | 3 |
1 files changed, 3 insertions, 0 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..58271c23e 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 @@ -74,6 +75,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() { |