summaryrefslogtreecommitdiff
path: root/meta-openpower/recipes-phosphor/occ/openpower-occ-control_git.bb
AgeCommit message (Collapse)AuthorFilesLines
2021-10-26treewide: clean up recipe checks in OBMC_MACHINE_FEATURESPatrick Williams1-1/+1
OBMC_MACHINE_FEATURES is a variable that probably shouldn't even exist as all it does is provide a level of indirection to the real MACHINE_FEATURES (in phosphor-base.inc, OBMC_ is added to the base). There are a few recipes that have developed checks against OBMC_MACHINE_FEATURES for enabling recipe-level features when they should be checking the standard MACHINE_FEATURES variable. Clean up this recipe-level indirection. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id437b93aa6c1de9a27726eea9b7e2c30e71ab3bf
2021-10-22openpower: occ: Update recipe for meson buildEddie James1-7/+7
Adjust various parameters to build the repository with meson. Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: I27e0fe96efec83646ee8aa8328dd32755d3816ad
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-3/+3
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-11meta-{ibm, openpower}: minor override syntax fixesPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iadecbc8418d901f82fcc741d3e88d2d202fe96fe
2021-08-11meta-openpower: prep for new override syntaxAdriana Kobylak1-12/+12
Change-Id: I5ca16c6fa7bc616bfa9bc41c4f86d32fd92b0287 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2020-04-10openpower-occ-control: remove sdbusplus depend in native contextPatrick Williams1-0/+2
There is no sdbusplus in native context. Since occ-control has a DEPENDS += "sdbusplus", it ends up getting sdbusplus-native when built under a native context. sdbusplus-native is a temporary alias to python-sdbus++-native, for backwards compatiblity with python2 code, which will be removed soon. (From meta-openpower rev: 2febb0a8092b410494ae6bd73204f6b9f9c9de14) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I817a122c87c4949ef4cff4b0f07ba4239ff55576 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-openpower: 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-openpower rev: df35a2536cf347e9a4e5b15ae48b59630722d08d) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I12040750b349bc36601c00a1b355d81ded2a0a01 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-07meta-openpower: 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-openpower rev: d555f82d1a10a4c65377ae9b090996220a635c0d) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ie79b13b1cce3ee14e89d895d325c021c68cf89bd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03op-occ-start/stop should not impact host targetsAndrew Geissler1-2/+2
There have been some situations where things get so messed up that starting or stopping the occ monitoring on the BMC will fail. When this happens, the systemd target, obmc-host-start/stop can not complete. This really should be a wants relationship vs. a requires so that the targets can continue to start/stop the host. The service is not required to start/stop the host. (From meta-openpower rev: fe1136ab98b70c016720a4bd489d90d8feac17a0) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I99f858b611ba58d9f66773d36b06a07f84c0dbfb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-22openpower-occ-control: Update recipe and SRCREV to python3nativeEddie James1-1/+1
The python file in the repo has already been changed to use python3 explicitly, so update the SRCREV to get the latest. (From meta-openpower rev: 5d84b27a2ddb8a56671d1bef846c2c54735a7c0e) Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: Ib4211cd68e86b332cfc5316a6b4f27a58979a9ff Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-18openpower-occ-control: Fix missing dependsEddie James1-0/+4
The repo runs python to generate code or validate config, which requires python and the dependent python packages. Previously that happens to be satisfied by sdbusplus's RDEPENDS. If sdbusplus is changed to use python3, this repo fails to built because it lacks the dependency. See details in https://lists.ozlabs.org/pipermail/openbmc/2020-February/020771.html This commit fixes the depends by adding the required python and python packages so that it builds fine. (From meta-openpower rev: 344718b8b4dda75d47f89e72fb9b1372039ec6eb) Signed-off-by: Eddie James <eajames@linux.ibm.com> Change-Id: Ib744c2da0d42a12180c345a11086cba738880b42 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-03-16openpower-occ-control: remove openpower-dbus depMatt Spinler1-2/+0
Now that the openpower D-Bus interfaces are contained within phosphor-dbus-interfaces, the dependency to openpower-dbus-interfaces is no longer needed. (From meta-openpower rev: bc7a9db563bacc13f5b1b8e2339a7b797a790be0) Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1033871d0788ddcca523c28b3c7115d2a82b2899 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-02-13obmc-targets moved to phosphor-state-managerAndrew Geissler1-4/+5
The systemd targets provided by obmc-targets have been moved to the phosphor-state-manager repo. Interestingly enough, this dependency is not needed to get things to compile so there does not seem to be a co-req needed between this and the change that moves the targets to phosphor-state-manager. The target move is in the following commit: https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/28444 (From meta-openpower rev: 72aea7005606fa2eb64b05c3120f666346016cee) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I6a93b8ba4b5f96283e36656fdfc5f2520948e828 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-05-09openpower-occ-control: Remove unknown configure optionJoel Stanley1-4/+0
When building this package bitbake emits an error, and has sone so for over a year: WARNING: openpower-occ-control-1.0+gitAUTOINC+6d6d1b380a-r1 do_configure: QA Issue: openpower-occ-control: configure was passed unrecognised options: --disable-gen_errors [unknown-configure-option] I do not understand this flag, but it appears to be ignored by the package so we should drop it. Resolves https://github.com/openbmc/openbmc/issues/2941 (From meta-openpower rev: e64624bc00cf036b3d964c79ddd3ae326df2452a) Change-Id: I7d34202a5f25ed01453165b901a44bdb63c019e1 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-26meta-openpower: Fix explicit dependencies antipatternBrad Bishop1-7/+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-openpower rev: 42fbcf6040860dc6b0b553febeabedd241f22a27) Change-Id: If56c264d3807f604ae8ba9c948095ba61093285d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-18meta-openpower: occ: openpower-occ-control: rename as gitPatrick Venture1-0/+112
Rename openpower-occ-control.bb to _git per OE norms. (From meta-openpower rev: 091dad124be08adf00e0d03a341e1e24c865c6a3) Change-Id: I33942acc55786016db9f3e0406a297bf2dd11320 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>