summaryrefslogtreecommitdiffstats
path: root/meta-phosphor
Commit message (Collapse)AuthorAgeFilesLines
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-07-251-1/+1
| | | | | Change-Id: I9317e6271faed3dfdfb99e2a68cc4d1fc44459cd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Bump ipmitool revisionVernon Mauery2018-07-251-1/+1
| | | | | | | | ipmitool recently got a new default interface (dbus). This bumps the recipe to use that. Change-Id: Idb2b0ebb37f66b2dde10d6fb869bc05d3a77e14d Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
* phosphor: Rename bb file collectionBrad Bishop2018-07-251-4/+4
| | | | | | | | | | | | | | | | Typical upstream layers have a -layer suffix. Rename from obmc-phosphor to phosphor-layer to match this de-facto standard. Some existing layers that use this convention include: openembedded-layer networking-layer perl-layer virtualization-layer Change-Id: I5df5273b7ef4a0d8742b74a9b1ecd680a8598b04 Tested: Built a palmetto image Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* initfs: add missing dependenciesBrad Bishop2018-07-251-0/+2
| | | | | | | | | | Add a missing runtime dependency on base-utils. Found the missing dependency on the shell while comparing initfs to OE-Core's initrdscripts/initramfs-framework. Change-Id: Ia43495245f37e7f48c5508ee42540abea7ab0659 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* initfs: set package archBrad Bishop2018-07-251-0/+2
| | | | | | | | initfs is a bunch of shell scripts and therefor allarch. Set accordingly. Change-Id: Iaf707830c476c25d3dafabcbb6eec710cfb8bb50 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* initfs: Add proper license variablesBrad Bishop2018-07-251-2/+3
| | | | | | | | obmc-phosphor-license.bbclass is deprecated. Replace with a real license indicator and checksum. Change-Id: I6cf2732a661cf436eb233cd350ee470311b161bb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* initfs: Move to initrdscriptsBrad Bishop2018-07-255-0/+0
| | | | | | | | | Move initfs from initfs to initrdscripts to match OE-Core's placement of initramfs content recipes. Change-Id: Ic30cda7ca55070f1a8754824e76ab001fd55037b Tested: Booted QEMU palmetto image. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add dependency with boost for user manager changes.Tom Joseph2018-07-251-0/+1
| | | | | | | | Boost.Process library is used to run linux commands related to user management as child processes. Change-Id: I320c8562f0dbb7c27cc17c0b4b433212c9cba2dc Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Check size of the firmware image partsAlexander Filippov2018-07-251-13/+43
| | | | | | | | | | | | | | Prevent building unbootable firmware images. Resolves: openbmc/openbmc#3314 Tested: I checked builds for `palmetto` and `romulus`. To reproduce the problem I appended a big file to initramfs by modify `meta-phosphor/common/recipes-phosphor/initfs/obmc-phosphor-initfs.bb`. The building process failed with message about too large initramfs image. Change-Id: I0176e9c47a9cb26ce8ba588794e681b6426d567d Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
* phosphor-state-manager.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I477ee7ba4cd5e9f67db56d40a276fb77065693ee Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* sdbusplus.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: If2018249fb2c50435038895d80703685368a19a6 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I1292844056ec93b298e2024c21d96ef860365acd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add shadow package to the rootfsTom Joseph2018-07-241-0/+4
| | | | | | | | The binaries of the shadow package like useradd, groupadd is needed for the user management functionality. Change-Id: Idfe506793ac8f452ad4de5589f0de00efaf4ce3b Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I6351ff993a10a9c19822055172d20992484a9483 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* bmcweb.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I37fbd9e2ce95c6eb6beac237565343da44e974a9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: I860ca9b97f3497d0e91408dbe9a8f1358aadb3c4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add privilege related groupsRichard Marian Thomaiyar2018-07-241-0/+5
| | | | | | | | | Add privilege groups as needed by user management. Change-Id: I5e7204f8e334ef19d4999147f9e269061561f587 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: Ia5f6ef2e77d4042147b3e13dd11e86318abf2045 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Disable forwarding of journal to syslogAndrew Geissler2018-07-242-0/+14
| | | | | | | | | | | | | | | systemd recently changed the default in their recipe to forward all messages on to syslog. OpenBMC runs in a constrained environment so the redundancy of having the logs in both journald and syslog does not make sense. Tested: Verified journal no longer tries to forward messgages on to syslog. Resolves openbmc/openbmc#3299 Change-Id: Ic7a8e488b60e984670ab4de666f820eeffe39afb Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Prevent duplicate kernel message in journalAndrew Geissler2018-07-242-0/+18
| | | | | | | | | | | | | | | | | OpenBMC uses busybox which uses klogd which causes duplicate kernel messages to show up in the journal due to syslog. This override prevents journald from reading from kmsg so only one instance of the kernel messages will show up in journald instead of the two of each currently put in the journal Tested: Verified only one instance of kernel messages were in the journal. Resolves openbmc/openbmc#2720 Change-Id: I434f48159990e7b068103e5c11ac3c9431112199 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Move phosphor overrides of systemd into own recipeAndrew Geissler2018-07-244-3/+16
| | | | | | | | | | | | | Phosphor specific overrides to systemd should be stored within its own recipe and pulled in via the phosphor layer. This helps distinguish systemd specific overrides with phosphor overrides. Tested: Verified service-restart-policy.conf was still pulled in as expected in witherspoon QEMU Change-Id: I32110fc2edd3abd2bb0008c63dd4ad7828b762b8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* bmcweb.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: Ibcbd864384683e28722ee25892ecb7c1e74eae9c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-logging.bb: bump versionAndrew Geissler2018-07-241-1/+1
| | | | | Change-Id: Id2082ee2db26d75aa6fe73c3e558f490c16c5c7c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Put bmcweb in common layer for others to useAndrew Geissler2018-07-243-0/+56
| | | | | | | Initially interested in bmcweb for its redfish support Change-Id: Ia180a895c8db2b184a455cd3be2bf28db4c4116d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-webui.bb: bump versionAndrew Geissler2018-07-231-1/+1
| | | | | Change-Id: I21f1630149cb0361b19e59986e0be97016a124b7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Add explicit dependency between mapper and sdbusAndrew Geissler2018-07-201-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mapper has an implicit dependency on dbus.socket but not on dbus.service. It appears an explicit dependency is required to ensure the shutdown happens correctly. Testing: Prior to this commit you would see this on a reboot: Jul 20 15:01:34 witherspoon systemd[1]: Stopping D-Bus System MessageBus... Jul 20 15:01:36 witherspoon systemd[1]: Stopped D-Bus System MessageBus. Jul 20 15:01:37 witherspoon systemd[1]: xyz.openbmc_project.ObjectMapper.service: Main process exited,code=exited, status=1/FAILURE Jul 20 15:01:37 witherspoon systemd[1]: xyz.openbmc_project.ObjectMapper.service: Failed with result'exit-code'. Jul 20 15:01:41 witherspoon systemd[1]: Closed D-Bus System Message Bus Socket. This shows the dbus.service stopping before the ObjectMapper With this fix, this is now seen: Jul 20 17:38:20 witherspoon systemd[1]: Stopping Phosphor DBus Service Discovery Manager... Jul 20 17:38:21 witherspoon systemd[1]: Stopped Phosphor DBus Service Discovery Manager. Jul 20 17:38:21 witherspoon systemd[1]: Stopping D-Bus System Message Bus... Jul 20 17:38:21 witherspoon systemd[1]: Stopped D-Bus System Message Bus. Jul 20 17:38:21 witherspoon systemd[1]: Closed D-Bus System Message Bus Socket. This shows ObjectMapper stopping prior to dbus.service Resolves openbmc/openbmc#3319 Change-Id: I466ec45f4582b3242688e8308d156961bb79cdc1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* sdbusplus.bb: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: Ieab4dc55699fd4f6e727b0d6752e80206001903a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.inc: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: Iaedf2c60272e02e656fd4949a5ab6c4fd9205a4c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-dbus-interfaces.bb: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: I367000d170b68af71eb7d7168ec8502efc7197d1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Tell phosphor-logging about the sw-mgr error yamlMatt Spinler2018-07-194-6/+27
| | | | | | | | | | | | This needs to be done so phosphor-logging will know to grab the error log's metadata from the journal and add it to the log in the AdditionalData field. Tested: Check that the errors now show up in the elog-lookup.cpp file generated during the build by phosphor-logging. Change-Id: I59e357986ac56ea752c9f7241a5138eb4985ceb6 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Tell phosphor-logging about the LED error yamlMatt Spinler2018-07-192-0/+22
| | | | | | | | | | | | | | This needs to be done so phosphor-logging will know to grab the error log's metadata from the journal and add it to the log in the AdditionalData field. Resolves openbmc/openbmc#3015 Tested: Check that the LED errors now show up in the elog-lookup.cpp file generated during the build by phosphor-logging. Change-Id: I9bcbf1b1c8d7499e4ef8e384005c34b858d25a7d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* phosphor-host-postd: allow configuring the daemonBenjamin Fair2018-07-192-2/+8
| | | | | | | | | This adds variables to the recipe file which specify the name of the LPC snoop device and the number of bytes per POST code. The variables can be easily overridden in a platform-specific bbappend. Change-Id: Ia7778a72b62225238d2142c62b8e88e5e8ca33ee Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* Add dependency to the chassis state serviceMatt Spinler2018-07-191-1/+1
| | | | | | | | | | | | | | | | | | On startup, the service attempts to read the PGOOD property to know if the system is already on. For that to work, the org.openbmc.Control.Power service must already be running, so ensure that is the case. Having this check working right allows the code to know if there was an AC loss while booted. Resolves openbmc/openbmc#3266 Tested: Check that the service knows power is on when rebooted at runtime. Change-Id: I1314865609ecdf3765603f8bd8ed1add6888e558 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add recipe for phosphor-ipmi-kcsEd Tanous2018-07-192-0/+46
| | | | | | | | | | | | | | | | | This recipe adds a target and support for building phosphor kcs bridge daemon. The phosphor KCS bridge daemon is very similar to the block transfer bridge daemon, in that it is capable of briging requests from the KCS driver into dbus, and return the appropriate responses. Keyboard Controller Style interfaces are commonly on server platforms for BMC communication to a host system. This also includes a modification from Benjamin Fair <benjaminfair@google.com> that allows selecting the kcs device at compile time, sourced from here: https://gerrit.openbmc-project.xyz/#/c/11476/ Change-Id: I05eea9f12e2460e2514f657aeb1d055d0e48851f Signed-off-by: Ed Tanous <ed.tanous@intel.com>
* meta-phosphor: nuvoton-layer: add gpio-keys kernel featureBenjamin Fair2018-07-193-0/+13
| | | | | | | | | | | The phosphor-base.inc distro file enables the phosphor-gpio-keys KERNEL_FEATURE. Add support for this feature to the linux-nuvoton recipe via a bbappend in meta-phosphor's nuvoton layer. Tested: Built and ran on NPCM750 EVB Change-Id: Id957c6209ebb841fce2cdad1cc0790e0d58da60c Signed-off-by: Benjamin Fair <benjaminfair@google.com>
* phosphor-led-manager.inc: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: I6373776531963351831420fea39d88fc3995e8bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: Ib55af6f615cacbf74eb081e0ca33e9683d8dd7bf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-rest.inc: bump versionAndrew Geissler2018-07-191-1/+1
| | | | | Change-Id: If88a42419c4acde338488d9c092b787d29b820a1 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Get whitelisted URLs -jsonNagaraju Goruganti2018-07-182-0/+23
| | | | | | | | This commit adds a json file that specifies whitelisted URLs to be allowed access by REST server. Change-Id: Ie9aaa6a1f9de00799e22af450c436d5e791c4b2a Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* phosphor-host-postd.inc: bump versionAndrew Geissler2018-07-181-1/+1
| | | | | Change-Id: I3c677f730dddcc1fced75176c4a2cd65cc7b5fae Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-fan.inc: bump versionAndrew Geissler2018-07-171-1/+1
| | | | | Change-Id: I07e4095903ca89884d172657472b2a83d4ae8697 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-ipmi-host.inc: bump versionAndrew Geissler2018-07-171-1/+1
| | | | | Change-Id: Ia7c156eb9b24017098064432f7632e3274ccf8d3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* phosphor-software-manager.bb: bump versionAndrew Geissler2018-07-171-1/+1
| | | | | Change-Id: I7685577363722d767cfb881d8388824812c06265 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* image_type_phosphor: refactor signatures generationLei YU2018-07-171-12/+12
| | | | | | | | | | | There are duplicated code about generating signatures. Combine the duplicated code into a bash function so the code is cleaner and easier to read. Tested: Generated tarball contains the expected files. Change-Id: I4144633f36291329dfc4008bb73482fb5a0d43c1 Signed-off-by: Lei YU <mine260309@gmail.com>
* phosphor-software-manager: ubifs_layout package configLei YU2018-07-172-0/+3
| | | | | | | | | | | | Add ubifs_layout package config and pass --enable-ubifs_layout configuration option when ubi-fs distro feature is enabled. Tested: Verify --enable-ubifs_layout is passed to phosphor-software-manager's config for Witherspoon; And it is not passed for Romulus. Change-Id: I6daa0c565d2c2be980b6292e62654c0a86a69bbc Signed-off-by: Lei YU <mine260309@gmail.com>
* Remove TODO in phosphor-reset-host-running serviceAndrew Geissler2018-07-161-1/+0
| | | | | | | | | | This TODO was properly addressed but the comment was not deleted Part-of openbmc/openbmc#2207 Change-Id: I410e2a95707c1c14c3d0699af00c7dcb874cef23 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Correct the dependency for state related service filesTom Joseph2018-07-163-6/+8
| | | | | | | | The dependency on the legacy system service is obsolete and so it is removed. The dependency on the mapper is added. Change-Id: I6afd2020f73829df7c5a53342087a3051939928d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Fix to speed up boot to BMC Ready stateTom Joseph2018-07-162-2/+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>
* busybox: patch "umount: ignore -c"Eddie James2018-07-162-0/+50
| | | | | | | | | | | Upstream busybox has a change to ignore the -c option, which systemd uses when unmounting during shutdown/reboot. Currently, if -c is used, umount fails. This results in extensive umount failures during shutdown. See http://lists.busybox.net/pipermail/busybox/2018-January/086045.html Change-Id: I4630935dc5ec61263a7af9e24b70ca8f1f8b5359 Signed-off-by: Eddie James <eajames@us.ibm.com>
* Add manifest and signature for fixed flash layoutLei YU2018-07-161-4/+28
| | | | | | | | | | | | | | In generated fixed flash layout tarball, add manifest and signature which can be used for code update by phosphor-software-manager. Tested: Verify the generated static tar contains image(s), manifest, public key and their signatures. Verify that all.tar can be used to do code update by both legacy method (org.openbmc.control.BmcFlash.service) and phosphor-software-manager. Change-Id: Ib6880c8a6d456cce6b0fd47116960d1d448d5d50 Signed-off-by: Lei YU <mine260309@gmail.com>
OpenPOWER on IntegriCloud