summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/system
AgeCommit message (Collapse)AuthorFilesLines
2018-07-16Fix to speed up boot to BMC Ready stateTom Joseph1-1/+0
The legacy services(like system and chassis) was assigned nice value of 19 to alleviate CPU stress at boot time. The systemd bootchart showed that many services are dependedent on the system service. The nice is set to default value of 0 and there is a consistent improvement of ~10 sec in BMC getting to ready state. Change-Id: I8f9f76da0a36c136243026aa7d7691e814634987 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
2018-05-30obmc-mgr-system: Fix 'Phoshpor' typo in service fileAndrew Jeffery1-1/+1
Change-Id: I4a9346c406f493fcf8d67737ec55e77288aa67d6 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
2018-02-08Run legacy services with lowest priorityAndrew Geissler1-0/+2
The early boot of the BMC sees a lot of processes start at the same time (right after mapper completes). The loading of these legacy python services contributes a lot of un-needed workload to the CPU during this time. The eventual goal is to simply remove these services but until that is done, ensure they run with the lowest priority. Resolves openbmc/openbmc#2825 Change-Id: I71e14b02ec943ebe3f64e1818c4fbd7699e690bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-27Add required package "pkgconfig"Saqib Khan1-0/+1
This package is required for the following receipes in yocto-2.3. Otherwise we get the error: "fatal error: gio/gio.h: No such file or directory" Change-Id: I020c8f31d707da716956b7856ba14076294bd7c7 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2017-08-25Enable BMC patching from the /usr/local pathMichael Tritz3-3/+6
This commit enables patches from the /usr/local path by replacing absolute paths to /usr/sbin or /usr/bin in every service file with "/usr/bin/env ". Additionally, SyslogIdentifier is added to each file to ensure that journal entries are still distinct. In two cases, service files also had to change due to references to ${{PATH}}, which doesn't work with /usr/bin/env. These references - and the corresponding definitions - were changed to ${{DEVPATH}}. Resolves openbmc/openbmc#2149 Change-Id: I12c5c6e5101eef6820b985a563313836250ff2c7 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-05-06Recipe for phosphor-discover-system-stateMichael Tritz3-45/+0
This recipe will add the new program phosphor-discover-system-state to new builds. Additionally, the old Python state manager is removed from the build since discover_system_state.py was the last thing in it. Resolves openbmc/openbmc#773 Change-Id: I99ba0f1f0264cedebc5a9a7e5fa5dbaba0b79502 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
2017-03-03meta-phosphor: add missing RDEPENDS on pyphosphor pkgsPatrick Williams1-0/+1
Change-Id: Iaebf6d1e076519ca8378bc3fe982f54b77a05092 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-11-15phosphor-settingsd: add systemd dependsPatrick Williams1-0/+2
settingsd now does queries for specific objects, so we need those objects to be populated. Add 'Before' and 'Wants' directives for the /org/openbmc/control/Host0 object. Additional fixes for openbmc/openbmc#806. Change-Id: Icd3c40180a84cea58da9a43f0449c066c632c8f0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-10-21obmc-mgr-system: remove startup-hacksPatrick Williams2-19/+0
Change-Id: I2aa0b53ea87841312d20095888d0b7bb215b3cf4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2016-09-14remove manager classesBrad Bishop1-1/+3
The value added by these classes is minimal and lowers the flexibility available to clients using them when it comes to packaging. Rename recipe virtuals - obmc-phosphor seems redundant. Align package virtual names with best practices (virtual-package). Change-Id: I34c3cb03f6b1d2aaa734ed02078b388667f70917 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2016-09-13Update service unit descriptionsBrad Bishop1-1/+1
Going for consistency: Phosphor xxx Change-Id: I04778ed868874ef5004724bc6b31adc4aa2367ad Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2016-09-13Use systemd substitutionsBrad Bishop1-2/+2
Make use of the new substitution feature in the Phosphor systemd bitbake class. Change-Id: I2db85347809ef557a53e92af3ffcf17c8003b3ce Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2016-09-12Drop obmc-phosphor- prefix from recipe collectionsBrad Bishop11-0/+167
Given that these are already in the recipes-phosphor directory this seemed redundant. Change-Id: I48a1ab79e0eda88fc5e6af88f198ca3941e829b8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>