summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/settings
AgeCommit message (Collapse)AuthorFilesLines
2021-12-08phosphor-settings-manager: add `inherit pkgconfig`Patrick Williams1-1/+1
The latest Yocto doesn't give us "pkgconfig" for free in many cases. This repository uses 'PKG_CHECK_MODULES', which relies on pkgconfig. Add the inherit so that it is available in the configure step. Change-Id: I1bcd78d11ec01f7724e3d22ea6812dfc223f2c9c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2021-10-30phosphor-settingsd: srcrev bump b6fa9bb188..5ff6375ba9Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I8c62e878ce13a0c153f9c794b7b4f2029e488909 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-14phosphor-settingsd: srcrev bump 2355263101..b6fa9bb188Andrew Geissler1-1/+1
Patrick Williams (1): catch exceptions as const Change-Id: Ib806d1727d92a47a94902eaf8efd1f8307399ef6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-1/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-08-02phosphor-settings-manager: redesign boot setting override featureKonstantin Aladyshev2-22/+10
Current realization of a boot override feature has several downsides which are described in detail in the mailing list letter https://lists.ozlabs.org/pipermail/openbmc/2021-May/026533.html Redesign interfaces under '/xyz/openbmc_project/control/host0/boot' object to solve all the problems, in particular: - add 'Enable' interface under '/xyz/openbmc_project/control/host0/boot' path to store overall boot override enabled state, - drop BootSource/BootMode/BootType interfaces from the '/xyz/openbmc_project/control/host0/boot/one_time' object. In the new design there is no need to store such properties twice, - by default make override feature disabled and permanent. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: Ie59ba703a6f39f8e1d4934cce89cbe8cd5a826e4
2021-05-26phosphor-settings-manager: add 'boot_type' optionKonstantin Aladyshev2-0/+37
Add 'boot_type' package configuration parameter that is used to add support for the Legacy/EFI boot override selector for systems with x86 host. This setting is designed for selection between - "PC compatible" boot (legacy) - Extensible Firmware Interface Boot (EFI) In the presence of a 'boot_type' parameter the default value for the BootType dbus interface is set to EFI boot. Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I2d75960f0a3350aa4d464179d4ee7a1758e09d72
2021-05-18phosphor-settingsd: srcrev bump bcf9578106..2355263101Andrew Geissler1-1/+1
Matt Spinler (1): Use full name for enum default values Change-Id: Ib48c490bef372f3614357a699f9c7f555e174c87 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-12phosphor-settingsd: srcrev bump b41b1e4b7f..bcf9578106Andrew Geissler1-1/+1
Patrick Williams (1): Use sdbus++ python library for name conversion Change-Id: I6537b659abfc63a429ebbe61b965ea0ab2f9841a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-12phosphor-settings-manager: add sdbus++ dependencyPatrick Williams1-0/+1
Change I767ff842c37b183f925d7add87e96bb850092810 will now use the sdbus++ python library in order to form property names. Add this as a dependency in the recipe. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Icc5806827dc826a51552cfcd54ea0c49da07f654
2021-05-05phosphor-settingsd: srcrev bump 9cca1ef0b1..b41b1e4b7fAndrew Geissler1-1/+1
Patrick Williams (1): bootstrap: fix shellcheck warnings Change-Id: I4c12837a10af1d998dbe67a8fea6769ed68f81b7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-02power-restore: default one_time to disabledAndrew Geissler1-1/+1
The following commit introduced a new enum value for power restore: https://github.com/openbmc/phosphor-dbus-interfaces/commit/66b591e165b53a80e431a543aa8c8e48beba585f This new "None" value indicates to the power restore logic that the one_time setting should be ignored. Make this the default so one_time is ignored until something changes it. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I47784937038ee76982fede0dd53664f6f4d0181b
2021-03-02native class is not inherited lastJoseph Reynolds2-2/+2
Moved "inherit native" statements to the last position to remove QA Issues. The message is: WARNING: QA Issue: {RECIPENAME}: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes inherited after native/nativesdk: {CLASSFILES} [native-last] Tested: The witherspoon image builds without the warnings. Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net> Change-Id: Ic3c71234abfcac8b26478bc32808e3bec8bba810
2021-02-10power-restore: define new one_time propertyAndrew Geissler1-0/+6
IBM has a use case where it wishes to utilize the power-restore functionality for a firmware update path. A firmware update is initiated through the host operating system. Once it has completed writing the BMC flash, the host wants to initiated a power off of the system, a reboot of the BMC, and then an automatic power on of the host. Instead of writing special software to handle this automatic boot of the host after the BMC has rebooted, lets utilize a one_time setting within the power-restore logic. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I4964004e3b1827853ff00437172196e4fbbfcc46
2020-12-03phosphor-settingsd: srcrev bump 8f5c256647..9cca1ef0b1Andrew Geissler1-1/+1
Deepak Kodihalli (1): MAINTAINERS: Change Deepak's email id (From meta-phosphor rev: 249d0365fe834d90f531421698bfa40655bff480) Change-Id: Ic963c4e97b3690c4671bad4a71ac73b71d4ac5f4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-10-22autoreboot: define new one_time auto reboot propAndrew Geissler1-0/+6
IBM has a use case where boots of a system can be done utilizing a debug tool called istep. This tool does not utilize the normal systemd targets to boot the system, but instead launches each individual step required to boot the system. This allows fine grained control of the boot and the ability to easily debug issues. When booting a system using this tool, it is required that the automated reboot policy be off. The issue is that istep can easily set AutoReboot to false when it is used, but there is no way for it to know when to reset it to true (i.e. when the user is done). AutoReboot is a user setting and is something that must stay persistent based on the users selection. It should not be moved back and forth by software based on different debug modes. The solution proposed here is to make a one-time AutoReboot property. Boot debug tools like istep can utilize this temporary property and be confident it will be reset whenever the user powers down their system or stops their host. Software will first look at this new one-time reboot property. If false then auto reboots will be disabled. If the temporary reboot property is true then software will look at the user-based AutoReboot property for direction. This new property will have no impact to existing software unless it gets set and something looks at it. The thought is this could be useful to more then IBM, so proposing it initially in meta-phosphor. (From meta-phosphor rev: 7d29e7a2c135e91b222c57c66bb7ca61aae6398e) Change-Id: I7c542469135061c5b5017b87cffc92aa6b8794c4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-07meta-phosphor: drop feature check wrappersBrad Bishop1-2/+2
These pointless wrappers don't do anything other than obfuscate intent to readers that have experience with bitbake metadata. (From meta-phosphor rev: 536cee986517bf14226feb2f412928bc1904f950) Change-Id: I92b12b6d675acb65d67f442c6331560cb20c88e6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-16meta-phosphor: remove excess phosphor-dbus-interfaces DEPENDsPatrick Williams1-1/+1
A number of packages are depending both on p-d-i and p-d-i-native, for seemingly no reason. Remove excess DEPENDS on p-d-i-native. (From meta-phosphor rev: 9a31d9bbf8d50516da9efd9dac6e5144659a84ba) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Iab13f2246c1196a59d0b5852a9801c4cf7de88fc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27phosphor-settingsd: srcrev bump 6f62cc844b..8f5c256647Andrew Geissler1-1/+1
George Liu (1): Remove TimeOwner interface from settings.yaml (From meta-phosphor rev: 480bdb05fea3fa0d72d0e0c666baa97263fc29db) Change-Id: I0b15d0d9bebb4948da400ebd5a2049dd7e45d878 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-05-27meta-phosphor: Remove TimeOwner interface from defaults.yamlGeorge Liu1-6/+0
The TimeOwner feature is confusing from feedback from the community and we should be removed. (From meta-phosphor rev: 4cd09c85f3d168cef02d2a020ef93b718f3a3456) Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I5ceff148059337df1c41cb54b2bb3080df1aca69 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14new setting to quiesce system on hw errorsAndrew Geissler1-0/+6
See the following design doc for more info: https://github.com/openbmc/docs/blob/master/designs/fail-boot-on-hw-error.md The new D-Bus interface is defined here: https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Logging/Settings.interface.yaml (From meta-phosphor rev: 6f5102fa5e2adc8451aa81ad08309f08fbf131b4) Change-Id: Idc6f2ae909216222dc8b1ac25ccc959c95abe347 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-14remove un-needed space in settings yamlAndrew Geissler1-1/+1
(From meta-phosphor rev: f0497ff5675e265fa0201d0cf06b0552a720e227) Change-Id: If055b00987bccbd9cea519dc38b5c3cd92521451 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-04-03phosphor-settingsd: srcrev bump 3d805fe94a..6f62cc844bAndrew Geissler3-6/+6
And convert recipe to python3. Patrick Williams (3): python2 to python3 conversion MAINTAINERS: update Deepak's email address delete deprecated python scripts (From meta-phosphor rev: afc2415faf43876cd80ed9a93229a7e7e2499b31) Change-Id: I62f4df660fc589a084f8d48effb6cfe2d82ae4da Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> 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-01-23phosphor: Make Both as default Timer ownerAlbert Zhang1-1/+1
Change the default TimeOwner from BMC to Both in phosphor-settings. Tested: tested on fp5280g2. The default Timer owner has changed to Both. (From meta-phosphor rev: 45efbb4ae2d518abae1ba8f6dd7ca9278ee3ed69) Signed-off-by: Albert Zhang <zhanghaodi@inspur.com> Change-Id: I531a15cbd5e87aaf5d481f073ea884c412a93ccb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-10-08phosphor-settingsd: srcrev bump f1d09b0121..3d805fe94aAndrew Geissler1-1/+1
Kun Yi (1): Makefile.am: Fix mixed tabs and spaces (From meta-phosphor rev: d429dc27127aec05bc812fa79f45a0ea35e72eb7) Change-Id: I770f31f193a4ab1496be79ba64d6d69da22bf3b3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-20meta-phosphor: Remove references to PHOSPHORBASEBrad Bishop2-2/+2
PHOSPHORBASE is only used for pointing at licenses...point at the licenses in oe-core in meta/files/common-licenses instead. to match the defacto convention used in other oe layers like meta-openembedded. (From meta-phosphor rev: a1cee09419cb1467c3d2b7bf996b40089f0d06f4) Change-Id: If136d24638a8022671988cf0a01620e7fffc545f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-23Redfish Code Update: Default value for ApplyTimeJayashankar Padath1-0/+6
Setting a default value for ApplyTime property which can control when to apply the newly uploaded software image. The ApplyTime property is defined in the UpdateService redfish schema. This property will be hosted from phosphor-settingsd with a default value as OnReset. Tested: Verified that the property is getting created with the expected default value as OnReset. busctl get-property xyz.openbmc_project.Settings /xyz/openbmc_project/software/apply_time xyz.openbmc_project.Software.ApplyTime RequestedApplyTimes "xyz.openbmc_project.Software.ApplyTime.RequestedApplyTimes.OnReset" (From meta-phosphor rev: 634e8d0c70ad2c7732e13439fcbca569457919a5) Signed-off-by: Jayashankar Padath <jayashankar.padath@in.ibm.com> Change-Id: Iadb744fe4c1db39fb758758f47b64205be0110af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-06update upstream subtreesBrad Bishop1-1/+1
A number of corequisites exist so squashing these all into one patch. meta-ingrasys - refresh master bc513127f4..67bcaf389f meta-hxt - refresh master 86a4df514f..8fe0d38bbb meta-phosphor - refresh master 06c09d7cce..df6ddae3d2 meta-quanta - refresh master 4f126361a1..53f3025271 Change-Id: I3daeef2a0467d8ea4f1fd1c617e526f8b11258af Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-31phosphor-settingsd: srcrev bump 74e3be7d86..f1d09b0121Andrew Geissler1-1/+1
Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: c36d2e7bd5ba942d9d46369e5059c9192c936223) Change-Id: I6b65393e779004259ad88bd8558f3b7b03bd679e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-phosphor: Fix explicit dependencies antipatternBrad Bishop1-2/+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>
2019-02-19phosphor-settingsd: srcrev bump 5d3c69bc46..74e3be7d86Andrew Geissler1-1/+1
James Feist (1): Add array support for defauts (From meta-phosphor rev: faf907b524c8e0526e043be3a79b291e49758660) Change-Id: I95f6574daa293789b226b625342a0df891339186 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-14phosphor-settingsd: srcrev bump 414db5a810..5d3c69bc46Andrew Geissler1-1/+1
Patrick Venture (1): build: pkg anti-pattern: use defaults (From meta-phosphor rev: a479486f8b2c57e1cb8a0cd51e4d6f5cbca3f492) Change-Id: Ia425284532f75ce37fd20963710b4e07692b2f4c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-11-06meta-phosphor: master refresh 3026b0fa5a..d76a657a63Brad Bishop2-3/+4
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>
2018-11-06phosphor-settingsd: srcrev bump 4aa8d23723..414db5a810Andrew Geissler1-1/+1
Patrick Venture (1): Add clang-format to repo (From meta-phosphor rev: 3026b0fa5a69f302c0c55bfc68e949d5633fe7be) Change-Id: Ic1961cf67e81d7b1c41fe6e21f43874205e0f198 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-27meta-phosphor: phosphor-settings-manager: QA fixup PVPatrick Venture1-0/+1
Fixup the PV in phosphor-settings-manager_git.bb (From meta-phosphor rev: 5c24f79395a693bd701dabc49732b38a9488af43) Change-Id: I57ba832c186aa04fbd30531296e5fff0363a4cc5 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-23phosphor-settingsd: srcrev bump e7e46df6ba..4aa8d23723Andrew Geissler1-1/+1
Patrick Venture (1): gitignore: add autotools files to list (From meta-phosphor rev: ed46b40012331a995ccfe18e6f00f3db23abc675) Change-Id: I4cc9ce4302f51e54a5fb9700fde086295956ba0d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-19meta-phosphor: switch to meta-oe libcerealBrad Bishop1-1/+1
A cereal recipe was added recently to meta-openembedded. Use it so we can deprecate our version of it. (From meta-phosphor rev: cc51cd9910f3480cf4d2e0bff8aa6b95162e5bc1) Change-Id: I7746dbd1eda3011b870b85770092b2d020800af7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-17meta-phosphor: settings-manager: rename as gitPatrick Venture1-0/+0
Rename phosphor-settings-manager.bb to phosphor-settings-manager_git.bb per OE norms. (From meta-phosphor rev: 4fce35f58137208209adbc46e78be74178dfd517) Change-Id: I9d6da2a5c0384da105a32ed484ae7eda49455652 Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-05phosphor-settingsd: srcrev bump 58d2efeef8..e7e46df6baAndrew Geissler1-1/+1
Vernon Mauery (1): phosphor-settingsd: use c++17 (From meta-phosphor rev: 9b551f451ab9d876566a164f112b115810b0ed37) Change-Id: Id36e216fa8a50ce2b1c66c97fbec7511f8873ba9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-12Add setting to toggle rest api loggingDeepak Kodihalli1-0/+6
It may be desirable for the rest server implementation to log rest calls for audit purposes, and further, it is desirable for a user to turn this feature on/off. Add a D-Bus setting for the same, which a rest server can look up and turn on logging, if required. Turn logging off, by default. Commit 6e1ca53 in the phosphor-rest-server implements logging. A subsequent commit will control logging based on this setting. (From meta-phosphor rev: dcc1bdb90e78264ad1a30d4cfc62dafe3fb1652d) Change-Id: I183986116e9472c503bc06bb3d679a8de82a3a8f Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-12settings-default: Add Power Supply Derating FactorAdriana Kobylak1-0/+6
Add the power supply derating factor property to the settings interface with a default value of 90 (reference the variable POWER_SUPPLY_DERATING_FACTOR in openbmc/openbmc). This setting will be used by IPMI to get the derating factor value when the Host requests it via a get sensor command. Tested: Verified the new property was created with its default value. (From meta-phosphor rev: 5dce67a520d2096ea91eb55734de6ba0e9a718f7) Change-Id: Ia1e2ce66014bf4d7d4bf1ac9780d0ab11a60988f Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop9-0/+318
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>