Age | Commit message (Collapse) | Author | Files | Lines |
|
root user account is enabled with proper privilege and group,
only if debug-tweaks or allow-root-login FEATURES is defined.
Note: This will not remove root user getting managed from
phosphor-user-manager, instead it will make sure, the privilege
and groups are empty for the root user.
Tested:
1. Verified the default build, which has debug-tweaks, allowing
root user to be with priv-admin, and enabled for all groups.
2. Verified by removing debug-tweaks from the local.conf, and
root user privilege & groups are empty.
(From meta-phosphor rev: b1b8251f4e5f19189057cdeb998cf119be1c27b8)
Change-Id: Iec2a0b1a9f84c27dd4947125903ce43f3a9c3c2c
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add an empty entity map json file. The file is expected to be an array,
if it is present at all. The file provided by default has no real
meaning to your system, therefore you are expected if you use the entity
records, to provide one for your system.
See: https://github.com/openbmc/phosphor-host-ipmid/blob/master/scripts/entity-example.md
for details on how it should be formatted.
Currently formatted:
[{
"id": 1,
# Container entity contains other entities
# Entity Id and entity Instance for the container entity
"containerEntityId": 13,
"containerEntityInstance": 81,
# A record can have contained entities as a four entry list or as upto
# two ranges of entity instances; this record has contained entities
# as a four entry list
"isList": true,
# Records can be linked if necessary to extend the number of contained
# entities within a container entity; this record is not linked
"isLinked": false,
"entities": [
{"entityId1": 10, "entityInstance1": 1},
{"entityId2": 10, "entityInstance2": 3},
{"entityId3": 10, "entityInstance3": 5},
{"entityId4": 10, "entityInstance4": 7}
]
}]
(From meta-phosphor rev: 34d8886d6642eb0b991b696f4d28950c5bec9bf5)
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I00956c92d444ac82d4a9aabfd33c26ccbb58e145
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The change that removed entity.yaml from the autogeneration method
also broke using devtool modify. Devtool fails to copy entity.yaml to
its destination directory because it can't be found in the Yocto
source directories.
(From meta-phosphor rev: 514e404cbfb9c0a8260d4dd157fecd0f2cefc438)
Change-Id: Ida9ba7af1e89f77d9e8171de214d7951612f01f4
Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The existing scheme for selecting an entity configuration YAML for
building ipmid consists of a virtual (phosphor-ipmi-entity-config) with
the preferred provider set to a default recipe
(phosphor-ipmi-entity-inventory-native) in the Phosphor distro
configuration.
Instead, provide a reasonable default directly in the ipmid metadata.
This is a small step towards enabling ipmid to build without any distro
configuration and should lower the effort required (slightly) to
comprehend where the the entity YAML file is coming from.
There aren't any known clients overriding the entity YAML in the first
place, but a client could still override with an ipmid bbappend and
setting EXTRA_OECONF appropriately.
(From meta-phosphor rev: fe88ee4211c93f4ca4acba5ecec502aef17944ce)
Change-Id: Ie152c413ee6674735b6bf3192b01ec0bc5a39a29
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Set the whitelist with the post-parse append operator, so ipmid
bbappends can set EXTRA_OECONF directly.
A simple example illustrates how this helps:
foo.bb:
BAR = "def"
FOO = "abc ${BAR}
foo.bbappend:
FOO = "zyx"
FOO would be "zyx" But if one has:
foo.bb:
BAR = "def"
FOO = "abc"
FOO_append = " ${BAR}"
foo.bbappend:
FOO = "zyx"
FOO would be "zyx def"
This is because bitbake parses recipes and bbappends in multiple
passes - the second pass is when things like the _append operator
and inline python are evaluated.
for more reading:
https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#override-style-operation-advantages
(From meta-phosphor rev: bb60cffd406a8a413be0ce70b65d9b3447c95bbf)
Change-Id: I2c9a4eaf65c815ebdf18ff158de75448837872b4
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
/usr/share/ipmi-providers/power_reading.json is the ipmid default
anyway, so there isn't any point in setting it explicitly.
(From meta-phosphor rev: 0f6fbb63bb52af49d0075838417c4184e065aae8)
Change-Id: I7d3696255e71c7c2ee2b2f33efb77dda6b0b5a87
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
This file isn't used by ipmid anymore, so don't bother passing it in.
See ipmid change 41ac50530a for details.
(From meta-phosphor rev: 2bda2f162fdb25d2d77f7845157ff70d94af44d4)
Change-Id: I1a0b02a6aa7c1767254b94e91b80ed92c3e99d16
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The phosphor-host-ipmid's apphandler relies on the bmc-updater,
therefore add this run-time dependency on the virtual package.
Add virtual package that provides an implementation of the
xyz.openbmc_project.Software.Activation interface.
(From meta-phosphor rev: f5dd031310da1aaec5373697202decc6d03d60b6)
Tested: Built quanta-q71l-variation and it built successfully.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I8bbc1fe3fb40b48c98c6a2deaacbe37f3a786b1c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The phosphor-host-ipmid's apphandler relies on the obmc-bmc-version
virtual package.
Add virtual package that provides an implementation of the
xyz.openbmc_project.Software.Version interface.
(From meta-phosphor rev: 00e88bfaa5767c9ba984e5da3b9beaf37ad54cf3)
Tested: Verified quanta-q71l-variation build continues to build.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ia1e5b6ed2ca0af40e2b764a38c48a8b61e292c98
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The phosphor-host-ipmid's apphandler relies on the bmc-state-manager,
therefore add this run-time dependency on the virtual package.
Add virtual package that provides an implementation of the
xyz.openbmc_project.State.BMC interface.
(From meta-phosphor rev: 68f126163ce73e241f07d24d5be5bb0cd72d5c29)
Tested: Built quanta-q71l-variation.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I24683cda94e41ec6f8800b6830bfb07e48c4c4d0
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Point various meta-phosphor recipes to depend on phosphor-network
instead of network. Also, update the default for this feature to be
phosphor-network instead of network.
(From meta-phosphor rev: 98fa96164889d0eed896a731bcfb348d5d802bef)
Tested: Verified meta-ibm/meta-witherspoon built.
Change-Id: I1c4b8fdcb92bf216e50d9f88273a7ac7bdc20213
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
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>
|
|
phosphor-host-ipmid no longer does anything with the information
specified by the ipmi-channel-config, therefore drop it.
(From meta-phosphor rev: 14e259d7b53de1bae200ee5c5dbf201ffd105543)
Change-Id: I74057fd68ba7e46e5cf5850eaf6434cb6bb37ec9
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
To provide a custom entity configuration, provide
a virtual phosphor-ipmi-entity-config. The entity.yaml file contains
metadata information for the SDR type 0x08h (Entity Association Record)
(From meta-phosphor rev: 47f26214a916246eeb52a9c2f4045e6375fa0bfe)
Change-Id: I812d5805edd547c2780604119bd6ae3f969d9886
Signed-off-by: Jaghathiswari Rankappagounder Natarajan <jaghu@google.com>
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
This reverts commit 2b8dbf0eb056e6aa05749563b02e931c656a4496.
This commit is reverted because the mapping of D-Bus object path to
sensor information is needed to service the SEL commands which translate
D-Bus logging objects to SEL entries. This dependency can be removed once the
SEL moves to the journal and there will be no mapping between logging objects
and SEL entries.
(From meta-phosphor rev: c32034f776bafa9957c8af22769e5707508f6013)
Change-Id: I927014cfc109bc34d673d62591890a233e29f3c5
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
With the eSEL refactor phosphor-host-ipmid is not depending on the
phosphor-ipmi-inventory-sel recipe.
(From meta-phosphor rev: 174a3499599cda3972f8a532d11e596b57345300)
Change-Id: Iea24b03fda36071760792b06a9c4e8443ad149ef
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The user commands have been split off from the libipmi20 provider. We
now need to include the libusercmds provider to utilize those commands.
(From meta-phosphor rev: c426a989dfac7998f463c275ed89694f51038c30)
Change-Id: Ie738d3e636e6e296957ff0b8c9a59f8c81cbb85a
Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
root user has to be added to groups accordingly based
on the recipe. i.e. phosphor-ipmi-host_git.bb, will create
both ipmi group, and add root user to the same.
Unit-test:
1. Verified root user is added to the groups accordingly.
(From meta-phosphor rev: 41882fbf717f267b280ab8ed3393f1178a029258)
Change-Id: I79d3a23fd939f38064999ebe99f17f3e0c02ed0c
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add dependency on sdeventplus to allow transition to using this library.
(From meta-phosphor rev: 12a94a8a83ee656c216ccd92e061b72c29611a43)
Change-Id: Id6cde22d7cec440c716d7e536b56557e65e33a4c
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Update meta-phosphor to master HEAD.
Patrick Venture (52):
meta-phosphor: obmc-console: set LICENSE field
meta-phosphor: dbus-interfaces: set LICENSE field
meta-phosphor: rest-dbus: set LICENSE field
meta-phosphor: slpd-lite: set LICENSE field
meta-phosphor: ipmi-host: set LICENSE field
meta-phosphor: ipmi-net: set LICENSE field
meta-phosphor: network: inarp: set LICENSE field
meta-phosphor: network: set LICENSE field
meta-phosphor: logging: set LICENSE field
meta-phosphor: ipmi-tool: fixup LICENSE
meta-phosphor: clear-once: set LICENSE field
meta-phosphor: preinit-mounts: set LICENSE field
meta-phosphor: systemd: obmc-targets: set LICENSE field
meta-phosphor: dbus: perms: set LICENSE field
meta-phosphor: dbus-interfaces-mapper-config-native: set LICENSE field
meta-phosphor: dbus-monitor-config-native: set LICENSE field
meta-phosphor: legacy-namespace-mapper-config-native: set LICENSE field
meta-phosphor: mapper-config-native: set LICENSE field
meta-phosphor: obmc-host-failure-reboots: set LICENSE field
meta-phosphor: fan-control-events-config-native: set LICENSE field
meta-phosphor: fan-control-fan-config-native: set LICENSE field
meta-phosphor: fan-control-zone-conditions-config-native: set LICENSE field
meta-phosphor: fan-control-zone-config-native: set LICENSE field
meta-phosphor: fan-monitor-config-native: set LICENSE field
meta-phosphor: fan-presence-config-native: set LICENSE field
meta-phosphor: image-signing: set LICENSE field
meta-phosphor: insecure-signing-key-native: set LICENSE field
meta-phosphor: inventory-manager-assettag-native: set LICENSE field
meta-phosphor: inventory-manager-config-native: set LICENSE field
meta-phosphor: ipmi-channel-inventory-native: set LICENSE field
meta-phosphor: ipmi-config: set LICENSE field
meta-phosphor: ipmi-fru-merge-config-native: set LICENSE field
meta-phosphor: ipmi-fru-properties-native: set LICENSE field
meta-phosphor: ipmi-fru-read-bmc-inventory-native: set LICENSE field
meta-phosphor: ipmi-fru-read-not-sent-by-host-inventory-native: set LICENSE field
meta-phosphor: ipmi-fru-whitelist-native: set LICENSE field
meta-phosphor: ipmi-inventory-sel-native: set LICENSE field
meta-phosphor: ipmi-sensor-config-native: set LICENSE field
meta-phosphor: ipmi-sensor-inventory-native: set LICENSE field
meta-phosphor: logging-callouts-example-native: set LICENSE field
meta-phosphor: logging-error-logs-native: set LICENSE field
meta-phosphor: settings-defaults-native: set LICENSE field
meta-phosphor: fan-presence-mrw-native: set LICENSE field
meta-phosphor: fan-control-fan-config-mrw-native: set LICENSE field
meta-phosphor: ipmi-fru-properties-mrw-native: set LICENSE field
meta-phosphor: ipmi-inventory-sel-mrw-native: set LICENSE field
meta-phosphor: ipmi-sensor-inventory-mrw-config-native: set LICENSE field
meta-phosphor: ipmi-sensor-inventory-mrw-native: set LICENSE field
meta-phosphor: led-manager-config-mrw-native: set LICENSE field
meta-phosphor: logging-callouts-mrw-native: set LICENSE field
meta-phosphor: hwmon-config-mrw: set LICENSE field
meta-phosphor: settings-read-settings-mrw-native: set LICENSE field
Change-Id: Ibe919c3f1a748fae67b45ff6908a236b08902450
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Drop symlink and rename bb for phosphor-ipmi-host.
(From meta-phosphor rev: f30b884b3a3e749913c6dc45141da77629b209dc)
Change-Id: I1378df535728251c6f5086fcd49a00c1de412989
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add a symbolic link to phosphor-ipmi-host.bb named _git.bb and sets the
preferred version for the recipe.
(From meta-phosphor rev: b64457f8c96672c50f52c67a39dd7eb10dff43a5)
Change-Id: I70c506bd4614b26e55dff081df6bde70bbd54e3d
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|