summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/classes/obmc-phosphor-image.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Remove ipmi distro feature, virtualBrad Bishop2018-04-041-1/+6
| | | | | | | | | | | | | We don't need a distro feature for net IPMI at this point, so simplify things a bit. Additionally, remove the net-ipmi virtual since we don't have any alternative implementations today and it just adds unnecessary complexity. Tested: Built a witherspoon image and validated manifest Change-Id: I2784f13b3e8897e855ac128422081ec3ee207bf1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* logging: virtual refactoringBrad Bishop2018-04-041-1/+1
| | | | | | | | | | | | Remove the phosphor-logging virtuals. They were unused. Add a logging packagegroup so other layers can add additional logging applications predicated on the logging distro feature being enabled. Change-Id: Ic82843cb2b1229df55005bad93576c14f468073b Tested: Built witherspoon, palmetto and qemu images Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Revert "meta-phosphor: disable 'uninative' for RHEL6 support"Brad Bishop2018-03-291-4/+0
| | | | | | | | | | | Drop support for RHEL6 which has been unsupported by Poky since 2.1. This reverts commit c83cf1ce570d4771b1e42ded308bf4110e70408b. Tested: Built a witherspoon image Change-Id: Idd8dda940c72a69a7a228733c34018f906ec9b8f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Make host-check a part of host state functionAndrew Geissler2018-03-151-3/+0
| | | | | | | | | In the previous review it was noted that it didn't make much sense for host-check to be it's own provided function in OpenBMC. It's more of a recommended piece of the base host state function. Change-Id: I024472e96ea00f411e8348e0221c210f84700019 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Convert obmc-ubi-fs to a distro featureBrad Bishop2018-03-121-1/+2
| | | | | | | | | | | | | | | As with MRW the use of the UBI image scheme is distro policy. Convert the existing machine feature to a distro feature. Enable the new distro feature on the systems that use it(Witherspoon). Add a distro override and fix-up MF checks to use this override instead for improved readability. Tested: Built a Witherspoon image and validated image Change-Id: I8ab03115bbfc2ecc77cff5c9eb8628903ae88051 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove legacy settings serviceAndrew Geissler2018-02-281-4/+2
| | | | | | | | | xyz.openbmc_project.Settings has replaced this function Resolves openbmc/openbmc#2339 Change-Id: Ifec6a2fda088c4631e3835d3276a54e09b5d7147 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Move obmc-pydevtools to tools packageAdriana Kobylak2017-11-281-0/+1
| | | | | | | | | | | | | | | | Create a new development tools package and move the obmc-pydevtools there so they're no longer in the extrasdev development feature package. The reason is that the extrasdev contains features that are desirable to be removed from production systems, such as the rest-dbus. On the other hand the pydevtools are binaries that are useful to have even in production systems, so makes sense to put them in a separate tools category. Resolves openbmc/openbmc#2571 Change-Id: Ia66bf6e83d920818c8c355ec9d01a047583b82c0 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* obmc-phosphor-image: Add lrzszJoel Stanley2017-11-141-0/+1
| | | | | | | | | This adds xmodem receive shell tools so we can move files onto or off of the BMC over a serial console (without a network connection). This is helpful when debugging issues with failed network connectivity. Change-Id: Id12a3704c690230cb9111aa2f6f50962527e3987 Signed-off-by: Joel Stanley <joel@jms.id.au>
* Add recipe for phosphor-user-managerVishwanatha Subbanna2017-10-241-1/+1
| | | | | | | | | | Removed the obmc-phosphor-user and put the new one Also, removed the usage of PREFERRED_PROVIDER and replaced by VIRTUAL_RUNTIME for this feature Change-Id: I6f0825f8d51eecb9c666a95d9fd702a8ea8bb08b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* obmc-phosphor-image: enable read-only-rootfs if obmc-ubi-fs enabledPatrick Williams2017-08-181-0/+1
| | | | | Change-Id: I94fe5ce5231a2950dba5efbb3ee55522da6641a5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* overlay: remove OBMC_PHOSPHOR_IMAGE_OVERLAYBrad Bishop2017-08-011-8/+0
| | | | | | | | | Solve the problem resulting in the addition of this variable differently, such that it can be removed and image type selection can be selected in the standard way using IMAGE_FSTYPES. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ice94e8f278f00b8b4d344244bfb87dddeb173a23
* Add new settings manager to imageDeepak Kodihalli2017-07-171-0/+1
| | | | | | | An IMAGE_FEATURE update was missing. Change-Id: I51ca5f5c9e4165ad73a5d66f46f733a41b094724 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add changes in the recipe for the new network managerRatan Gupta2017-07-121-0/+2
| | | | | Change-Id: I03382dbcbd350d7e3a8991633b4548658e4e4b1e Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Add new Settings app to imageDeepak Kodihalli2017-06-271-0/+1
| | | | | Change-Id: I0775946e1503cda53d138b552d22c0f4da0b5725 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add rngd to imageLeonel Gonzalez2017-06-231-0/+1
| | | | | | | Resolves openbmc/openbmc#1367 Change-Id: I3f5a48a8fa84b1c02f8c560cb678175f5f329cf6 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
* Create a new package for the phosphor-dump-monitor.Jayanth Othayoth2017-06-121-1/+1
| | | | | Change-Id: I7f61a48b31d2997c1710c7d0bdde387e5c41a598 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Remove the org.openbmc.records.events serviceAdriana Kobylak2017-06-031-3/+0
| | | | | | | | | | The records.events implementation has been replaced with xyz.openbmc_project.Logging Closes: openbmc/openbmc#1313 Change-Id: Ie2cc3dc48763301989de63214c37edb601290c91 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add recipe for Phosphor Debug collectorJayanth Othayoth2017-05-111-0/+3
| | | | | | | Resolves openbmc/openbmc#1503 Change-Id: Id42d8c5042af4a9a74a9a284f3601989a65c5054 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add phosphor-host-check and required host servicesAndrew Geissler2017-05-091-0/+3
| | | | | | | | This application and services will be used by the host reset service to determine if the host is running after a BMC has been rebooted Change-Id: I8299546b0f275ebbb46aa775ab7b0633cc3fd5e0 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add a fan control package groupBrad Bishop2017-05-051-1/+4
| | | | | | | | Add a fan control package group for applications implementing fan control algorithms. Change-Id: Ida2146465ef1c18832550e91d5c749cfa21ee171 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-phosphor: disable 'uninative' for RHEL6 supportPatrick Williams2017-03-291-0/+4
| | | | | | | | | | | | The uninative stub from Yocto-2.2 includes a glibc that no longer has legacy kernel support for the kernel in RHEL6. We need to disable uninative and set OLDEST_KERNEL to enable backwards compatibility. See openbmc/openbmc#1407 to track removal of this. Change-Id: I6352514016d803b7b77d483425b3f080eef896c0 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Added rsync to package.Dinesh Chinari2017-03-251-0/+1
| | | | | | | Added rsync_%.bbappend recipes file . Change-Id: I2dadb0946e41575753520ed8dcc5b352943007f3 Signed-off-by: Dinesh Chinari <chinari@us.ibm.com>
* obmc-phosphor-image.bbclass: Remove inarp from default buildJohn Wang2017-03-161-1/+0
| | | | | | | | | | | | | | This service was implemented for Barreleye to send out the ARP packet for BMC discovery. We can remove it from default build since it's not necessary for other platforms. Also need to inherit obmc-phosphor-systemd so it can be installed once built in on specific platform. Resolves openbmc/openbmc#1306 Change-Id: I20865177aa939fb729d15e9ba373c80ff8ea59bf Signed-off-by: John Wang <hsienchiang@gmail.com>
* obmc-phosphor-image: disable /etc/version filePatrick Williams2017-03-061-0/+7
| | | | | | | | | | | | | | The /etc/version file is created by image generation with the timestamp of when the image was built. This is not useful to users and they should instead use /etc/os-release. There appears to be no way to disable the version file. Per the following email, delete it as part of the ROOTFS_POSTPROCESS_COMMAND: https://www.mail-archive.com/yocto@yoctoproject.org/msg33555.html Fixes openbmc/openbmc#1232. Change-Id: I78b3f31477c8490312be253eb363c4aafadf486c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* image: Use VIRTUAL-RUNTIME for state pkgsBrad Bishop2017-03-061-3/+3
| | | | | | | | | | | | The correct idiom for modeling runtime only virtual implementations with no build time API is to use VIRTUAL-RUNTIME in favor of PREFERRED_PROVIDER. Update the state management management applications accordingly since they fall into this category. Change-Id: I8f0092a38da4ea0741dd0f464b71f4ea12d12019 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add software package groupGunnar Mills2017-02-161-0/+3
| | | | | Change-Id: I98e19c8a7621aad18a91cb83c02b6011e0375885 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Clean up op packagegroupsBrad Bishop2017-02-141-3/+0
| | | | | | | | | | | | | | | Now that the legacy applications are picked up in the OpenPOWER layer via obmc-apps packagegroups, those dependencies can be removed from the op-apps packagegroup. Remove the sensord application as it has been replaced with phosphor-hwmon. Demote sensor mgmt feature to an image feature since anything running OpenBMC can have a sensor. Change-Id: I0b27cacbcbd73d53ab8db40790ea967ad478d111 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add inventory, led and sensors package groupsBrad Bishop2017-02-141-0/+9
| | | | | | | | | | | | | | | | | Add inventory, leds and sensors categories to the obmc-apps packagegroup. Add virtuals and mark Phosphor apps as providers: -obmc-inventory-manager -obmc-leds-manager -obmc-leds-sysfs -obmc-sensors-hwmon Add legacy applications to these groups in the OpenPOWER later until they are fully deprecated. Change-Id: If3ae7c83ccd03e21adbca4653c1e803566b502de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Incorporate new FFDC script into appropriate imageMichael Tritz2017-02-021-0/+1
| | | | | Change-Id: I108f828386deef5b92fbc1b02c7207ff292474a8 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* utils: Shuffle [cf|mf|df]_enabled argumentsBrad Bishop2017-02-021-15/+15
| | | | | | | | Reorder the arguments to these functions so that an optional falsevalue can be provided. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I7eff61064d05d7f0983e404f2c67306ed12a237b
* Add recipe for phosphor-net-ipmid repositoryTom Joseph2017-01-311-0/+2
| | | | | | | Resolves openbmc/openbmc#430 Change-Id: Id958eab2822858fe6241830791380af1a9fc1052 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Alphabetize listsBrad Bishop2017-01-311-32/+33
| | | | | Change-Id: I068940d3f400cae26d94dff7f5b29bd596c2a6f6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Incorporate new phosphor-bmc-state-manager into appropriate imageJosh King2017-01-271-0/+3
| | | | | Change-Id: I4c013d98e03703b1328d85ae00cebb8500ffa205 Signed-off-by: Josh King <jdking@us.ibm.com>
* Rename packagegroup-phosphor-appsBrad Bishop2017-01-201-2/+2
| | | | | | | | Rename to packagegroup-obmc-apps as this recipe provides structure as opposed to reference implementation (Phosphor). Change-Id: I0e0aa51453d35dce675874ffaf3ea497d097ed1a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Incorporate new phosphor-chassis-state-manager in appropriate imageAndrew Geissler2017-01-181-0/+3
| | | | | Change-Id: I39ca1fdfb7f549036b8eb27d7cfe9cd7309dcc54 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Incorporate new phosphor-host-state-manager into appropriate imageAndrew Geissler2017-01-181-0/+3
| | | | | Change-Id: I66f1414344ccc25e3db84c3de3a74993a99a9ff6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add phosphor-logger to all images.Brad Bishop2017-01-121-1/+1
| | | | | | | | | | | Fix a mistake in obmc-phosphor-image.bbclass that was preventing phosphor-logger from being included in images. The logger implements a DISTRO_FEATURE (no specific hardware features required) but the image recipe was checking for hardware support. Change-Id: I434b48dfbae2a2eb058d7ad4511b22f8b40573e4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add recipes for Witherspoon VCS workaroundSergey Solomin2016-12-161-0/+2
| | | | | | | | | | | | | | | Create vcs-workaround machine feature p9.inc Add new recipe vcs-pre-post.bb Add new recipe p9-vcs-workaround.bb Add new recipe start_host.bb Create preferred providers Create host control machine/distro/image feature Add dependencies Partially resolves openbmc/openbmc#647 Change-Id: I285cafc81afda20977fdf360ad8ad34d15e38685 Signed-off-by: Sergey Solomin <sergey.solomin@us.ibm.com>
* phosphor-logging: Create recipeAdriana Kobylak2016-11-091-0/+3
| | | | | | | Add phosphor-logging as a virtual package Change-Id: I591fbf94d90d383baf962cd94c08f6b63bb1ee83 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* phosphor-settings: Remove install step and make it a virtual packageAdriana Kobylak2016-09-291-0/+3
| | | | | | | | | | Move the settings dbus object to a virtual package, replace the dependency from ipmi with a recommends, and update the recipe to make use of the new python setup script in the phosphor-settingsd repository. Change-Id: I0566ed267a6cd5e06f701ba54b1021a9a8268a20 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* enable PAMEdward A. James2016-09-281-0/+1
| | | | | | | | | | tested dropbear according to the PAM integration yocto page dropbear correctly allows or disallows ssh access for simple cases resolves openbmc/openbmc#545 Change-Id: I6af6e96f404b524139058c792365b77f0b099929 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Add host ipmi featureBrad Bishop2016-09-141-0/+3
| | | | | | | Add a distro/machine feature for Host IPMI. Change-Id: I873e5a37236ab408890e967109f16bc1926503be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Rename apps packagegroupBrad Bishop2016-09-141-2/+2
| | | | | | | | | Part of an attempt to reduce instances of the string 'obmc-phosphor' throughout the project down to just 'phosphor' or 'obmc'. Change-Id: Ifda841f305512102c54cb30d428b069e237abfdb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* remove mgmt packagegroupsBrad Bishop2016-09-141-14/+15
| | | | | | | | | | | | | | | These packagegroups are an unnecessary level of indirection. Prior, the image feature was implemented by a packagegroup. The packagegroup was defined to pull in a virtual. The virtual could then be either a single package or another packagegroup. Just implement the feature with the virtual directly to avoid nonsensical situations like: feature <- pkggroup <- virtual <- pkggroup. Change-Id: I055257b6b646c82764849d49fdad7c10263e3aa3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Remove policy distro featureBrad Bishop2016-09-121-3/+0
| | | | | | | | The policy feature doesn't have any meaning or definition at the moment so remove in an attempt to reduce clutter. Change-Id: I7edaeb3bc9ffb409e5f7dfeae424ffb94f6085fd Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* obmc-phosphor-image: Enable debug tarballPatrick Williams2016-08-101-0/+2
| | | | | Change-Id: Ic7491464ef5acf39ad36b03178aa715c244a5329 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* meta-phosphor: Make image-overlay an optional featurePatrick Williams2016-06-241-5/+6
| | | | | | | | | | | | | | | | Previously, obmc-bsp-common.inc added "overlay" to the IMAGE_FSTYPES but this only has meaning if the 'image-overlay' class is used. The obmc-phosphor-image class explicitly includes 'image-overlay' when appropriate but no other images (ie. ones that come with yocto) do. Changed obmc-bsp-common to instead enable an obmc-phosphor-image feature by setting OBMC_PHOSPHOR_IMAGE_OVERLAY=1. Then in obmc-phosphor-image we add "overlay" to the IMAGE_FSTYPES only when the feature is enabled. This will fix both non-phosphor images on hardware platforms and all images on simulation platforms. Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Move rest-dbus to development packageAdriana Kobylak2016-06-171-0/+1
| | | | | | | | The rest-dbus package is a lightweight REST interface intended for development debug. Classify it as a dev package so that it is easy to remove from production images. Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Add OBMC_IMAGE_EXTRA_INSTALL variableBrad Bishop2016-06-141-2/+4
| | | | | | | | | | | | | | | Prior to this patch packagegroup-core-boot was not being pulled in. core-boot is what brings in the init_manager (systemd) but somehow systemd was added as a dependency by OE for the skeleton package so the missing core-boot packagegroup went unnoticed. core-boot was not being pulled in because of an assignment to IMAGE_INSTALL in the global configuration. Yocto core provides a mechanism to do the same thing safely - CORE_IMAGE_EXTRA_INSTALL; use this and also adopt a similar approach for adding extra packages to image recipes using obmc-phosphor-image. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud