summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/settings
AgeCommit message (Collapse)AuthorFilesLines
2023-10-23phosphor-settingsd: srcrev bump 86642a8b2a..464db676eaAndrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I9a2eb2055c261ebdcc15451be875b1482d3ac112 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-08-18phosphor-settingsd: srcrev bump 3132eca719..86642a8b2aAndrew Geissler1-1/+1
George Liu (1): meson_options.txt: Support for reading options from meson.options Change-Id: I472bce5f9f5c4a06c09b3a1e56879fcd887b1a65 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-07-13phosphor-settingsd: srcrev bump e568fcad2c..3132eca719Andrew Geissler1-1/+1
Patrick Williams (1): build: upgrade to C++23 Change-Id: Ibc46a6cdab91805c9c9505f574fd0663aa707de1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-25phosphor-settingsd: srcrev bump 157063d0e5..e568fcad2cAndrew Geissler1-1/+1
Matt Spinler (4): Extract default property value calc into function Use named values when serializing Convert version 1 files to version 2 on startup Convert to lg2 Change-Id: I3d43fda3928dcd0f4bb19139e280eba013b54fe7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-05-11phosphor-settingsd: srcrev bump de7ccfb2e8..157063d0e5Andrew Geissler1-1/+1
Patrick Williams (1): clang-format: copy latest and re-format Change-Id: I6db138d3d4728baea84091661d394e7bb6e8ed7b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-28phosphor-settingsd: srcrev bump 4d28bcd31f..de7ccfb2e8Andrew Geissler1-1/+1
Jagpal Singh Gill (1): meson: Remove autotools build files Change-Id: I78acc33a17d1d62ad8471ee892a29af4c169966b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2023-04-27meson: Switch phosphor-settings-manager to meson buildJagpal Singh Gill1-5/+4
Tested: Used devtool to apply meson patches to openbmc/phosphor-settingsd and verified compiltaion process uses meson & ninja. > devtool build phosphor-settings-manager Change-Id: I8b0fca9bbb29239c783bd1d233fb9994bd914b4b Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>
2023-04-27phosphor-settingsd: srcrev bump bbeb9bdd60..4d28bcd31fAndrew Geissler1-1/+1
Jagpal Singh Gill (2): meson: Address warnings for switching autoconf to meson meson: Switch autoconf build to meson Change-Id: Ic2d5bd9309aab7a039140c9d5493b187aa97ddbb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-12-09phosphor-settingsd: srcrev bump 7c6827c9fa..bbeb9bdd60Andrew Geissler1-1/+1
Patrick Williams (1): reformat and fix markdownlint issues Change-Id: Ie528430ae581f6a3935c2705a19e353019ed9c93 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-09-20Run oe-stylize on our filesEd Tanous2-18/+11
In all of our recipes, we should be following yoctos lead on formatting, order, and other things, for consistency in our meta layers. This commit runs oe-stylize.py on all of our files. The types of changes being made can be seen in the commit, but amount to: 1. Setting an explicit key ordering 2. Sectioning the files appropriately 3. Applying rules checking to our files At some point in the near future, we would turn this on as part of repotest, but some minor changes need to be upstreamed to meta-oe (WIP) to make that happen. Looking for input on whether this is something we'd like to do, and whether the diffs below look reasonable to folks. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I489dd21d38a9fe4f3ece89cc7a5e1d0463224abf
2022-08-23phosphor-settings-defaults: fix silent failures in installPatrick Williams1-1/+1
If a file is missing from SETTINGS_HOST_TEMPLATES, the previous `do_install` would silently fail because bash by default does not use the `pipefail` option. Avoid the pipe operation so failures are more obvious: ``` | sed: can't read restrictionmode-host-settings.override.yml: No such file or directory | WARNING: .../lf-build-bletchley/tmp/work/x86_64-linux/phosphor-settings-defaults-native/1.0-r1/temp/run.do_install.800503:152 exit 2 from 'sed "s/{}/${i}/g" ${f} >> ${DEST}/defaults.yaml' ``` Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If35ca6cbf1c1793229432cb680e6fc0148f721a2
2022-08-11phosphor-settingsd: srcrev bump 1fc221f8d2..7c6827c9faAndrew Geissler1-1/+1
Patrick Williams (2): MAINTAINERS: remove file OWNERS: adjust maintainers Change-Id: I441c1d42dd17a4d784933b1c80996a3f8a7285a1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-08-05phosphor-settingsd: srcrev bump 75a710ca87..1fc221f8d2Andrew Geissler1-1/+1
Adriana Kobylak (1): Use relative path to append path Patrick Williams (3): switch experimental::fs to std::fs sdbusplus: use shorter type aliases OWNERS: switch 'matches' to 'matchers' Change-Id: Ia57b0175592173d355c54190c16a1d9d93026746 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-04-26phosphor-settingsd: srcrev bump 74c4f3b1af..75a710ca87Andrew Geissler1-1/+1
Patrick Williams (2): fix cppcheck warnings build: enable C++20 Change-Id: I93979626b87591f40dd2b257ed8be38da9106db9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-04-15phosphor-settings-defaults: allow additonal host templatesPatrick Williams1-2/+6
Previously we supported a single default per-host template, which enables default settings for multi-host designs. Add a variable, SETTINGS_HOST_TEMPLATES, which allows machines to add their own template snippets. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I1e416e2af8b336017c800676efd0183f294168a9
2022-04-13phosphor-settingsd: srcrev bump c0ce992ff8..74c4f3b1afAndrew Geissler1-1/+1
Patrick Williams (1): sdbusplus: object: don't use 'bool' argument constructor Change-Id: I781ba541c3f6b72bc1fec28d17afb65962e4e11b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-04-08Added BootType property for multihost supportJayashree Dhanapal1-0/+4
Added BootType property and interface in host-template.yaml for multi-host support to determine the BIOS boot options which supports Legacy and EFI. TESTED : Tested on Facebook Yosemitev2 platform and verified the results. Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com> Change-Id: I8f85b9b63019b683b0062c45f793d4b363c82482
2022-03-18phosphor-settingsd: srcrev bump 5ff6375ba9..c0ce992ff8Andrew Geissler1-1/+1
Lei YU (1): mako: Support interfaces without property Change-Id: Id86ab8f061243f965ab5e4ee042b0ec5658bcf62 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2022-03-09phosphor-settings-defaults: refactor defaults settings for multihost supportAllen.Wang3-105/+112
separate host items from defaults.yaml to host-template.yaml add host items to defaults.yaml based on OBMC_HOST_INSTANCES to support multi-host. TESTED: a. build with default OBMC_HOST_INSTANCES="0" `busctl tree xyz.openbmc_project.Settings` └─/xyz └─/xyz/openbmc_project ├─/xyz/openbmc_project/control │ ├─/xyz/openbmc_project/control/host0 │ │ ├─/xyz/openbmc_project/control/host0/TPMEnable │ │ ├─/xyz/openbmc_project/control/host0/auto_reboot │ │ │ └─/xyz/openbmc_project/control/host0/auto_reboot/one_time │ │ ├─/xyz/openbmc_project/control/host0/boot │ │ │ └─/xyz/openbmc_project/control/host0/boot/one_time │ │ ├─/xyz/openbmc_project/control/host0/power_cap │ │ ├─/xyz/openbmc_project/control/host0/power_restore_policy │ │ │ └─/xyz/openbmc_project/control/host0/power_restore_policy/one_time │ │ ├─/xyz/openbmc_project/control/host0/restriction_mode │ │ └─/xyz/openbmc_project/control/host0/turbo_allowed │ ├─/xyz/openbmc_project/control/minimum_ship_level_required │ ├─/xyz/openbmc_project/control/power_supply_attributes │ └─/xyz/openbmc_project/control/power_supply_redundancy ├─/xyz/openbmc_project/logging │ ├─/xyz/openbmc_project/logging/rest_api_logs │ └─/xyz/openbmc_project/logging/settings ├─/xyz/openbmc_project/network │ └─/xyz/openbmc_project/network/host0 │ └─/xyz/openbmc_project/network/host0/intf │ └─/xyz/openbmc_project/network/host0/intf/addr ├─/xyz/openbmc_project/software │ └─/xyz/openbmc_project/software/apply_time └─/xyz/openbmc_project/time └─/xyz/openbmc_project/time/sync_method b. build with Bletchley platform: OBMC_HOST_INSTANCES = "1 2 3 4 5 6" `busctl tree xyz.openbmc_project.Settings` └─/xyz └─/xyz/openbmc_project ├─/xyz/openbmc_project/control │ ├─/xyz/openbmc_project/control/host1 │ │ ├─/xyz/openbmc_project/control/host1/TPMEnable │ │ ├─/xyz/openbmc_project/control/host1/auto_reboot │ │ │ └─/xyz/openbmc_project/control/host1/auto_reboot/one_time │ │ ├─/xyz/openbmc_project/control/host1/boot │ │ │ └─/xyz/openbmc_project/control/host1/boot/one_time │ │ ├─/xyz/openbmc_project/control/host1/power_cap │ │ ├─/xyz/openbmc_project/control/host1/power_restore_policy │ │ │ └─/xyz/openbmc_project/control/host1/power_restore_policy/one_time │ │ ├─/xyz/openbmc_project/control/host1/restriction_mode │ │ └─/xyz/openbmc_project/control/host1/turbo_allowed │ ├─/xyz/openbmc_project/control/host2 │ │ ├─/xyz/openbmc_project/control/host2/TPMEnable │ │ ├─/xyz/openbmc_project/control/host2/auto_reboot │ │ │ └─/xyz/openbmc_project/control/host2/auto_reboot/one_time │ │ ├─/xyz/openbmc_project/control/host2/boot │ │ │ └─/xyz/openbmc_project/control/host2/boot/one_time │ │ ├─/xyz/openbmc_project/control/host2/power_cap │ │ ├─/xyz/openbmc_project/control/host2/power_restore_policy │ │ │ └─/xyz/openbmc_project/control/host2/power_restore_policy/one_time │ │ ├─/xyz/openbmc_project/control/host2/restriction_mode │ │ └─/xyz/openbmc_project/control/host2/turbo_allowed │ ├─/xyz/openbmc_project/control/host3 (.......repeat util host6) │ ├─/xyz/openbmc_project/control/minimum_ship_level_required │ ├─/xyz/openbmc_project/control/power_supply_attributes │ └─/xyz/openbmc_project/control/power_supply_redundancy ├─/xyz/openbmc_project/logging │ ├─/xyz/openbmc_project/logging/rest_api_logs │ └─/xyz/openbmc_project/logging/settings ├─/xyz/openbmc_project/network │ ├─/xyz/openbmc_project/network/host1 │ │ └─/xyz/openbmc_project/network/host1/intf │ │ └─/xyz/openbmc_project/network/host1/intf/addr │ ├─/xyz/openbmc_project/network/host2 │ │ └─/xyz/openbmc_project/network/host2/intf │ │ └─/xyz/openbmc_project/network/host2/intf/addr │ ├─/xyz/openbmc_project/network/host3 │ │ └─/xyz/openbmc_project/network/host3/intf │ │ └─/xyz/openbmc_project/network/host3/intf/addr │ ├─/xyz/openbmc_project/network/host4 │ │ └─/xyz/openbmc_project/network/host4/intf │ │ └─/xyz/openbmc_project/network/host4/intf/addr │ ├─/xyz/openbmc_project/network/host5 │ │ └─/xyz/openbmc_project/network/host5/intf │ │ └─/xyz/openbmc_project/network/host5/intf/addr │ └─/xyz/openbmc_project/network/host6 │ └─/xyz/openbmc_project/network/host6/intf │ └─/xyz/openbmc_project/network/host6/intf/addr ├─/xyz/openbmc_project/software │ └─/xyz/openbmc_project/software/apply_time └─/xyz/openbmc_project/time └─/xyz/openbmc_project/time/sync_method Change-Id: I4b70fb7e19647ea2ba5c985cb7c6bf851cb971b2 Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com>
2022-03-08phosphor-settings-manager: Avoid build fail at non-clean buildAllen.Wang1-1/+1
To perform removing interfaces feature from: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/51394 phosphor-settings-manager build fail while rebuild without clean. For example, add xxx.remove.yml contains a key: /xyz/openbmc_project/control/host0/auto_reboot Build will success at first build ,but rebuild will fail. Error Message: Traceback (most recent call last): ...... File "....../merge_settings.py", line 39, in dict_merge target.pop(k) KeyError: '/xyz/openbmc_project/control/host0/auto_reboot' the key seems already be removed at first build so keyError occurs, add key existence check before calling pop() to avoid this problem. Signed-off-by: Allen.Wang <Allen_Wang@quantatw.com> Change-Id: Id98c8b9d755ba6083b1df88159ad47a41286c4a1
2022-02-25Update merge_settings script to support removing interfacesGaurav Gandhi2-15/+27
Currently there is provision to override default settings using .override files. But there is no way to remove a certain interface exported by settings daemon. Example: This will be useful for PowerCap interface. Power Cap is hardcoded toa specific object_path in dcmi. So if there is a Service which also exports PowerCap interface it can remove that interface from settings daemon. Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com> Change-Id: Ib27bdc3cf205957de5893bb9373727e2bbc9c036
2022-01-25treewide: fix up github SRC_URIsPatrick Williams1-1/+1
Per [1], Yocto is going to start requiring both branch names and `protocol=https` in GitHub SRC_URI variables. Ran the upstream tool to automatically fix our URIs. 1. https://git.yoctoproject.org/poky/tree/documentation/migration-guides/migration-3.5.rst#n10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5f9619f7ff707050b469ae74c8aa16846568c5e4
2022-01-20power-restore: add PowerRestoreDelayAndrei Kartashev1-0/+4
PowerRestoreDelay represent delay before power policy invoked on system boot. Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I26c89a2ff4cf77d7131c697791ae3379a1aeb5f5
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>