summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/images
AgeCommit message (Collapse)AuthorFilesLines
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams2-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-01-30meta-phosphor: obmc-apps: Add telemetryWludzik, Jozef1-0/+1
Added telemetry package to obmc package groups. Added telemetry to image features for easy opt-out. Change-Id: I66be3a545a1ce1cfb2c2c241629168c5b8d56c0d Signed-off-by: Wludzik, Jozef <jozef.wludzik@intel.com>
2021-01-05systemd: remove SYSTEMD_PAGER= profile settingsPatrick Williams2-8/+0
There was support to inject an empty "SYSTEMD_PAGER=" variable into the profile. This was to workaround ANSI control characters being injected into the default systemd tool output, but has a side-effect of disabling the pager for useful commands like `journalctl`. The underlying cause of these control characters was that busybox less was missing features that systemd relies on. Many of these busybox features say "this is essential for less applet to work with ... systemd": https://git.busybox.net/busybox/tree/miscutils/less.c#n103 These are now enabled so this empty environment variable can be removed. (From meta-phosphor rev: d8f8d70f7e4771eb295fff3ca80182b6636411b6) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Idc2fef9ccfb28e7956caf4efc141698940879f65 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-24meta-phosphor: add a base image recipeBrad Bishop1-0/+14
Much like core-image-base, add a base OpenBMC image obmc-phosphor-base-image. This is essentially CORE_IMAGE_BASE_INSTALL + packagegroup-obmc-apps-extras (which is empty by default). At time of writing, obmc-phosphor-base-image is an abstract thing and doesn't make any specific statement about content. The initial intent is twofold: 1 - Provide a base image upon which space constrained users can "build up" their image content by appending to IMAGE_FEATURES in place of the current practice of "tearing down" obmc-phosphor-image by _remove-ing from IMAGE_FEATURES (The Yocto layering implementation prefers appending over _remove-ing for maximum layer compatibility). 2 - Over time, a carefully curated set of IMAGE_FEATURES would be added (there aren't any at the moment) that provides content that most users would expect by default. (From meta-phosphor rev: fb768573bc58d020b63dba323cb0eb3afafd5e6d) Change-Id: Id3b15ffd8084298a4784ad1b3c4004b2cb2f73e4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-13meta-phosphor: fru-device: add packageBrad Bishop1-0/+1
Add a fru-device package, packagegroup, and image feature. Remove the ipmi-fru distro feature, since adding it in the first place was a mistake - no projects have conditional ipmi-fru feature flags. (From meta-phosphor rev: 4525a9d01a5f65438342a894f27c82f0dd61642c) Change-Id: I6928ac67d4acb4568359a308b45cb0734d116054 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-10meta-phosphor: obmc-apps: Add health monitoringVijay Khemka1-0/+1
Add phosphor-health-monitor packages to obmc packagroups and create IMAGE_FEATURES for easy opt-out. (From meta-phosphor rev: 67a3c577eced35685ec373b30a1419be5f3d3827) Change-Id: I912610933a2e73530e862feff684134dce9dfe99 Signed-off-by: Vijay Khemka <vijaykhemka@fb.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-26meta-phosphor: obmc-apps: Avoid extrasBrad Bishop1-0/+4
Much like CORE_IMAGE_EXTRA_INSTALL, packagegroup-obmc-apps-extras is a dumping ground. Move packages to proper packagroups (bmcweb, ikvm, dbus-monitor, ldap) and create IMAGE_FEATURES for easy opt-out. (From meta-phosphor rev: 7463d6daf6868dcad47070c35c1abaec5cf3d2a5) Change-Id: Ic4209059ac6e22aac18ef95010c7da1439686962 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-14phosphor-image: Avoid CORE_IMAGE_EXTRA_INSTALLBrad Bishop1-0/+2
CORE_IMAGE_EXTRA_INSTALL is a dumping ground. Move packages to proper packagroups (console/sol, rng) and create IMAGE_FEATURES for easy opt-out. Move the ffdc application to the debugging packagegroup. Move the pam-access plugin to the user management packagegroup. (From meta-phosphor rev: 94bf53d44193b6c5d123c462333fdedf91613370) Change-Id: If43af92f9bfcb6e0eef08adefbce077defd90b8d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: devtools refactoringBrad Bishop1-0/+1
Move i2c tools to the devtools package, right next to gpio tools. Rename extrasdevtools to just devtools. "Extra" doesn't convey any useful information. We can get away with this rename since noone is touching the package. Add an IMAGE_FEATURE for devtools, for easy opt-out. (From meta-phosphor rev: 113fe568c65247e4dc99513b679b74c049178d36) Change-Id: I28e8e6444e7d5d8c5c6b7c0fb6666587027b3a7b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: move licenseBrad Bishop1-0/+2
Move the LICENSE directive to the image recipe so other recipes could have their own license, and because this is how oe-core is organized. (From meta-phosphor rev: 92cadf349fb2948e64e44fba73b5eba1944886e2) Change-Id: I6cc0499b9874ac38852cde05cb44fd32f8871204 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: move rootfs cmds to recipeBrad Bishop1-0/+12
Similar to IMAGE_FEATURES, move the rootfs modifications to the image recipe to open up the possibility of other image recipes using obmc-phosphor-image.bbclass. Leave the rootfs command definitions in the class for use by other image recipes. (From meta-phosphor rev: 1e92fefdf8c8da253a4ed0ae35256af7592da0b6) Change-Id: I814f73e24fda19c7fd5393252b660b20079e66c7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: avoid distro overrideBrad Bishop1-2/+2
FOO_df-bar += "baz" and FOO += "${@bb.utils.contains('DISTRO_FEATURES', 'bar', 'baz', '', d)" accomplish the same thing but the latter is the convention upstream and also makes it easy to grep for things conditional on DISTRO_FEATURES. (From meta-phosphor rev: 36aaf57d28c456762156cdc64fad46bdb47bda1d) Change-Id: I6386f727acdf68370593ae1ee6dee2c0d88f700e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phoshor-image: move IMAGE_FEATURESBrad Bishop1-0/+27
IMAGE_FEATURES should be set by the image recipe that inherits the class. This emulates oe-core and opens up the possibility of other image recipes using obmc-phosphor-image.bbclass. (From meta-phosphor rev: 758f9693593a4502012923f6c493323af709515f) Change-Id: I0dd7bc99618f89becc9192b25f61951d28a09d42 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: improve descriptionBrad Bishop1-1/+3
Make it clear that obmc-phosphor-image is a full feature image and not a minimal image. (From meta-phosphor rev: 1a757e0faf3a6c343b25dbee0cf084309054380e) Change-Id: I9f87d1a1661db9fdc6d3c69cc5b6202d3e9c9629 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-08-14obmc-phosphor-image: remove stray newlineBrad Bishop1-1/+0
(From meta-phosphor rev: 3e081c2669b536a5a0c12dc63e194644a586bf35) Change-Id: I3767d9534ed6691a87574cf9b4dc986555a9adcc Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2020-07-15initramfs: Add init script for eMMCAdriana Kobylak1-1/+5
This init script mounts the rootfs based on the root u-boot env variable, mounts the read-write filesystem and sets up the overlay. (From meta-phosphor rev: 86164b2e072cc6cebc9caf1614e2b1fa0e0884a0) Change-Id: If9121048b6223d5391e5f6a8b7d6cd7d22707969 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-09-25obmc-phosphor-initramfs: Add read-only-rootfs featureWilliam A. Kennington III1-1/+1
This reduces the number of files that end up in the image like the opkg alternatives files that only get removed if the image class sees the image featurs are set to read-only. (From meta-phosphor rev: a04a0a57b5dd3b0d5f7d3c6b7058ff2ccfafeb92) Change-Id: I07aaf9dd9fbfcd8770bb8ed23236ac0e4eabe4f3 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-25obmc-phosphor-initramfs: Remove udevWilliam A. Kennington III1-1/+4
We aren't actually using udev during the initrd stage, and it takes and extra 500KB compressed worth of space in the file. For some reason the udev dependency pulls in the native shadow functionality which we have been implicitly depending on. This explicitly calls out that dependency. (From meta-phosphor rev: 848bfdb10c4d4420a05015b04320a13cf88f631d) Change-Id: I0bc08e602946b2a6dc58da97805db0b5fe0ebd6e Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-13include bmcweb-cert-config the same as bmcwebEd Tanous1-3/+0
bmcweb Redfish certificate service in this review: https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/18545 Will require phosphor-bmcweb-cert-config to function correctly. Move the location that this is included to ensure that they are included together. Tested: built image with aformentioned patch. observed that GET /redfish/v1/Managers/bmc/NetworkProtocol/HTTPS/Certificates/1 no longer throws 500 errors on image types that are not exactly obmc-phosphor-image targets. (From meta-phosphor rev: 80c1e1a4a052f23e05d87d9dce0aa57d9627005e) Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: I98cd1b07fb6b3050ac3c95609fbbcdc71943a7bd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-25Add certificate manager instance for bmcwebMarri Devender Rao1-0/+4
Added bitbake recipe to instantiate phoshor-certificate-manager service for bmcweb certificates. Caters for installing/replacing of bmcweb certificates. Specifying instance arguments through env file Tested: 1) Verified phosphor-certificate-manger instance for bmcweb is running 2) Verified Installing, Replacing of certificates using Redfish (From meta-phosphor rev: b0e77acb579523dfa706a545c86b1c2469692adc) Change-Id: Ifb4c8ac7e34f57a652f72eff1a0ef568a6348124 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-12-10obmc-phosphor-image: Don't install any localesBrad Bishop1-0/+2
Don't install any locales in an obmc-phosphor-image. The defaults probably meet most requirements at present and this saves ~128K with an xz compressed squashfs. Remove locale setting from distro configuration. The defaults are fine and this also allows the user to override. (From meta-phosphor rev: c2207adeb8ecfa1add3868eafc1f0d94d2e503d7) Change-Id: I2bd5eb4225cfd8f0024b14afc415c0c1bd166484 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-09Remove shadow package from initramfsRichard Marian Thomaiyar1-0/+2
Remove shadow package from initramfs. This also removes it's dependencies like pam modules, which was increasing the initramfs size. shadow package will come from obmc-phosphor-image. (From meta-phosphor rev: 17d1d721121f1d3c08be4e6fc9c1265d4c4a1189) Change-Id: Id08d49ac6f2ba631d167163f6dad23d924e61c15 Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop3-0/+27
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>