summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/flash/phosphor-software-manager_git.bb
AgeCommit message (Collapse)AuthorFilesLines
2021-08-31meta-phosphor: switch EXTRA_OEMESON to use override syntaxPatrick Williams1-1/+1
It was observed that we have different approaches to modifying the EXTRA_OEMESON variable across our recipes. The bitbake manual implies that override syntax (":append") is slightly better and the poky meson bbclass also prefers it: meta/classes/meson.bbclass:EXTRA_OEMESON:append = " ${PACKAGECONFIG_CONFARGS}" Switch all recipes to use the ":append" override syntax for the EXTRA_OEMESON variable. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I24e9a27a87c61f374acfb03a63955821fce0dd20
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-14/+14
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-06-11phosphor-software-manager: Fix tests meson paramAdriana Kobylak1-1/+1
Need to append the meson option to disable tests so that it doesn't overwrite previous options. Tested: Built witherspoon with -e option and verified EXTRA_OEMESON showed all the meson options for ubi. Change-Id: I1275a790feefdc3aa5d85aa9b36bf5d7d3a4d44e Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2021-06-06phosphor-software-manager: Disable building testsWilliam A. Kennington III1-0/+2
We don't yet use ptest so we are wasting cycles building tests Change-Id: Id215020d9133806f98fa2253618e708ecb70f3d9 Signed-off-by: William A. Kennington III <wak@google.com>
2021-02-04phosphor-software-manager: Add verify-full-signatureAdriana Kobylak1-1/+3
The phosphor-software-manager now supports signature checking of the whole tarball contents, ensuring that all the expected images are contained in the tarball. This new check adds an additional level of security, and the new tarball signature file is included in the built tarball now by default: https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/39036 https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-bmc-code-mgmt/+/39118 Change the verify_signature PACKAGECONFIG option to use the new verify-full-signature since this is the recommended option now and the previous one is marked as a legacy option. Tested: Verified the generated config.h in the phosphor-software-manager build directory has both the original WANT_SIGNATURE_VERIFY and the new WANT_SIGNATURE_FULL_VERIFY defined. Change-Id: I138d0c8ca9fc25d4e08e101c5a097c9cb4fbcbb5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2020-07-15phosphor-software-manager: Create a new mmc bbclassAdriana Kobylak1-0/+3
Add a bbclass for the mmc configuration option. (From meta-phosphor rev: 7df4aa01e4d35e6ec7294f08e4bd3f1d18e61f01) Change-Id: I6602362e511bcffae1e185a72861ae1edec050f9 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-07-10Add phosphor-image-signing if verify_signature is enabledAdriana Kobylak1-0/+1
The phosphor-image-signing adds the public key to the BMC rootfs and it was added if the UBI distro was enabled. The phosphor-software-manager supports signature verification regardless of the choice of BMC layout, so add it based if the signature verification config (verify_signture) is enabled. Otherwise the user would need to know that the package phosphor-image-signing needed to be added if the signature verification config was enabled, which is not intuitive. This way it's done automatically. Tested: Verified that adding verify_signature resulted in the /etc/activationdata/ directory being added to the BMC rootfs, and without it no directory was created. (From meta-phosphor rev: 379f327e91542e7b2c3c4fb6b41b325b1a0a3412) Change-Id: If0137b75f6de3b3087389c98229c85c346804912 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16phosphor-software-manager: Move to mesonAdriana Kobylak1-10/+5
(From meta-phosphor rev: 2badcf923f4666c9c83842d0c0bc08132c6ef1c5) Change-Id: I124b014509e2370f65c24a1c3b3672932f156717 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-02phosphor-bmc-code-mgmt: srcrev bump 9155b713ff..0d7198f4ebAndrew Geissler1-0/+3
Adriana Kobylak (2): configure.ac: Set values to support a default configuration meson: Fix compile errors Bright Cheng (1): Add checking ApplyTime for static layout With the new support for ApplyTime on static layout, the reboot service files move from the ubi bbclass to the common BMC updater. (From meta-phosphor rev: b99a1ad6ddcbfc10fac3f23437ea105b542048a1) Change-Id: I6eacdb1a254ee594fda1ba17463afe8a9ec9cbf3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-phosphor: PN.inc to BPN.incPatrick Williams1-1/+1
Some recipes have abstracted the git revision into a separate file and have a line 'require ${PN}.inc'. The issue with PN is that it changes to have a -native or -nativesdk for those contexts. The variable ${BPN} (base package name) should be used instead. (From meta-phosphor rev: c7d848ec9b524114550f80276f7b5e45b9ad8d46) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ib875fd9904b16379b20dc7891087b8e0bf90fe69 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03meta-phosphor: update DEPENDS for sdbusplus-nativePatrick Williams1-1/+1
sdbusplus has changed the package layout so that sdbusplus-native and sdbus++-native are now ${PYTHON_PN}-sdbus++-native. Update recipes that need to use sdbus++ (or its associated python modules) or remove the DEPENDS if it is no longer necessary. (From meta-phosphor rev: 2bebd1247cb78567441158b152c7a13f476afd4f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I30f9c2220da9145ef0a7067e067aed1396d8b40d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-01phosphor-software-manager: Replace pythonnative with python3nativeAdriana Kobylak1-1/+1
(From meta-phosphor rev: a3ebfeac1c00fd9533d5ebd5985512eaf869f5a4) Change-Id: Idda3c8cd8cfc50bbf4e4ea5bf01235d3427553ba Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-25phosphor-software-manager: add missing openssl depPatrick Williams1-1/+2
Related to openbmc/openbmc#3645. (From meta-phosphor rev: a723ee311bee06eac78112f4c33faefb14acb96f) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If82558149d4558d8672bf4f09e743e6515a03de7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-02-16Add systemd unit file for bios upgradeVijay Khemka1-0/+3
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>
2019-11-06phosphor-software-manager: Add usr-local.mount to common codeAdriana Kobylak1-0/+6
The usr-local.mount service file does not depend on a ubi filesystem layout, so move it out to the common code. (From meta-phosphor rev: 02b6df9343687286836f87f2478eea3cc50d7af3) Change-Id: I398ebff667b8bee496debc933f2865e6cc1f03e5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-15phosphor-software-manager: Use in-repo script, systemd conf and unitsAdriana Kobylak1-17/+0
Use the script, systemd configuration file and service files provided by phosphor-software-manager. Tested: The moved files are installed in their respective locations and code update on Witherspoon is successful. (From meta-phosphor rev: 3b5c7fdc75988dfae86b824708a97c9e8764a565) Change-Id: I316ab2b9bc0a250a5707b15251a9de8810217243 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06meta-phosphor: software-manager: install into binPatrick Venture1-7/+7
Install the components associated with the phosphor-software-manager package into bin. phosphor-bmc-code-mgmt: srcrev bump efd8e9106a..ab8231c663 Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: 5c05f8ab24c9ae6f655a9c5c4ccf5a60f9796491) Change-Id: Ie79ae3e3d9f58d598e8c54697ed7b0b89e7974ad Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-phosphor: Fix explicit dependencies antipatternBrad Bishop1-13/+0
Out of the box bitbake examines built applications, automatically adds runtime dependencies and thus ensures any library packages dependencies are automatically added to images, sdks, etc. There is no need to list them explicitly in a recipe. Dependencies change over time, and listing them explicitly is likely prone to errors - the net effect being unnecessary shared library packages being installed into images. Consult https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-RDEPENDS for information on when to use explicit runtime dependencies. (From meta-phosphor rev: 26873c99d30b55e21a920c9851f21c3e2eab19f7) Change-Id: I38640d75a2d834c07d45ddcdb0162f1a23f848d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-30meta-phosphor: phosphor-software-manager: drop symlinkPatrick Venture1-1/+105
Drop symlink and rename bb for phosphor-software-manager. (From meta-phosphor rev: 2bb72e97b4adeaae4df141e32ec001b59a22abd3) Change-Id: I204b0041b520c561220931c32db394971de323c7 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-27meta-phosphor: phosphor-software-manager: Add symlink as gitPatrick Venture1-0/+1
Add a symbolic link to phosphor-software-manager.bb named _git.bb and set the preferred version for the recipe. (From meta-phosphor rev: 25045bc375c9ef7cd8fdf0a9adfab406384d4c8c) Change-Id: Ia1441aedb774c94dc1b32bac21e8800ae9654cda Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>