summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes
AgeCommit message (Collapse)AuthorFilesLines
2017-08-25phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I6a28934bb18aa2da30c0966c5d5690603495eb00 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-24phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I091e986c95906f5f18688cc12cd4ef596703258b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-24BMC: Make volume names consistentAdriana Kobylak1-2/+2
Name the BMC volume names consistently in the build process and applications to be <name>-<id> for readability. For names, use rofs and rwfs instead of ro and rw. Change-Id: I860f740fb7d0292e4ee09493730db1d1f67c2ae5 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-08-23mrw-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ia90000b26e97209c922d63f107520edfcb13545f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-23skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I8a9f366266cfa0ef4243100861d929c7cba127d6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-22skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ia6e00e68335962520f6a9a2b64a3de0a84d15d6c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-21Change Dump file storage locationJayanth Othayoth1-1/+1
Changed the dump storage location from /tmp/dumps to /var/lib/phosphor-debug-collector/dumps. Change-Id: I3751db7b70c634f8642c5c23d8437ac0b94aebc8 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2017-08-18image-overlay: select fitimage based on obmc-ubi-fsPatrick Williams1-1/+3
When the obmc-ubi-fs feature is enabled we should use the raw Linux kernel fitImage rather than the kernel+initramfs. Update image-overlay to select based on the MACHINE_FEATURE. Change-Id: I099e37c7f82218a2a7173de93724301b9a499bd3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-18obmc-phosphor-image: enable read-only-rootfs if obmc-ubi-fs enabledPatrick Williams1-0/+1
Change-Id: I94fe5ce5231a2950dba5efbb3ee55522da6641a5 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-18skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ic617c0037abc4ec9ba5dab3e0f6e90c6a2b92cfd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-18images: Add support for generating ubi imagesBrad Bishop1-4/+126
Add new image types to enable selection of a two partition mtd image: u-boot, and remaining components in a ubi image. UBI enables advanced volume management for flash devices. Resolves: openbmc/openbmc#1941 Change-Id: Ia6ffa96877943c73c14aba76f8fe9533d22b3aa5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-18overlay: Prepare for multiple image typesBrad Bishop2-147/+202
More refactoring in preparation for ubi based mtd images. Promote tar file generation to a real image_fstype. This allows tar generation to be turned on or off as needed. Move image-overlay function to image_types_phosphor. Perhaps phosphor is not the best name but for now we only have a handful of image types and the generation logic is to interdependant to warrant seperate classes for each. Attempt to improve readability throughout. Drop ext4 override to discourage mtd block emulation. Change-Id: Idbdc03444549b955ef2180622d133904cb191b28 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-17mrw-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ie257918727b1d471968c0fc7d3f87813df5c7776 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-16skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I7afc512428f81da253166136d4a537d9b67f502f Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-16mrw-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I427ecd2461185dbc979c831e5e80cb4a227c4640 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-15skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I9ed0f022389bac2bc4c1b4aa14e2972b2ffb85d8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-14phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Iaf59733a9f2786f04e3d71be8122e43890784d8e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-14image-overlay.bbclass: Restore deploying the intermediate filesAdriana Kobylak1-0/+6
Restore deploying the intermediate image-* files used for the tar image generation per issue request as some processes were built around them and for the convenience of some users. Resolves openbmc/openbmc#2116 Change-Id: I206cb1895ad8ab1a8cdb1266a85a464108195c5c Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
2017-08-14phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I194e43a5d054a7e6cce269257fbc029c86376935 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-11phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ib3da552a3b229cb679a9d9cbfa2a5398f6f95230 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-09mrw-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ia926dba90d6b98de6f8b9328f1965938defb435d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-08-08Configuration yaml changes for virtual sensorsDhruvaraj Subhashchandran1-0/+1
Change-Id: I270a62022340d6be382091a6595859dafdb634ae Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-08-03mapper: Fix mapper environment generation bugBrad Bishop1-1/+1
Fix a logic issue that results in an emitted mapper environment file with interfaces like: rg.openbmc and yz.openbmc_project Change-Id: I5ad30e45da08123b7611390855c04237ff5b60de Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-01overlay: Add MANIFEST to tar filesBrad Bishop1-4/+30
Add a manifest file to the tar archives generated for use with Phosphor software management. The manifest is used by Phosphor software management applications to determine the purpose and version of the software in the tar archive. Change-Id: Ic364297d7bae09909fafaa11d4b8324b42cfc064 Resolves: openbmc/openbmc#1842 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-01overlay: Minor refactoringBrad Bishop1-37/+63
Use IMGDEPLOYDIR rather than DEPLOY_DIR_IMAGE to leverage sstate. Add dependency on kernel deploy. Add dependency on rootfs do_image_<> task. Adopt standard artifact naming conventions for tars, flash image. Remove unnecessary checks for missing artifacts provided by dependencies. Don't deploy intermediate files. Split tar generation into its own task. Change-Id: I63385924e38287db20426c6e74dcdac84a4abc33 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-08-01overlay: remove OBMC_PHOSPHOR_IMAGE_OVERLAYBrad Bishop3-9/+21
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
2017-08-01overlay: Adopt upstream style conventionsBrad Bishop1-50/+45
Removed a handful of unused variables. Use upstream style conventions, which seem to be: - pep8 for python - tabs for shellcode - 8 space indent everywhere else Change-Id: I4de549ecf02472096a54234379cd7cce8c219c48 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-07-26phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ibec208c314dd5e7ff122fcdf7e558e4123545fe1 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-07-19phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I2846a72d84d55f6010ee75cadb1d1196987274e4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-07-19Remove legacy hwmon applicationBrad Bishop1-1/+1
phosphor-hwmon and the /xyz/openbmc_project/sensors namespace are fully functional. Change-Id: I42756f4246280cbfeeedebf6073ea301ce7b78be Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-07-18mapper: Generate an environment fileBrad Bishop2-0/+56
Mapper will soon consume four command line arguments that limit the scope of watched path and interface namespaces. Add tooling to generate this environment file based on a new bitbake variables. Add xyz-openbmc_project and org-openbmc by default in the Phosphor layer and other layers can add additional namespaces as needed. Change-Id: I1c03aa91b75d03652a8a8fb80737553fef224fdf Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-07-17Add new settings manager to imageDeepak Kodihalli1-0/+1
An IMAGE_FEATURE update was missing. Change-Id: I51ca5f5c9e4165ad73a5d66f46f733a41b094724 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-07-12Add changes in the recipe for the new network managerRatan Gupta1-0/+2
Change-Id: I03382dbcbd350d7e3a8991633b4548658e4e4b1e Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-07-07Enforce Dump directory creation prior to Dump manager startsJayanth Othayoth1-0/+1
Create Dump file storage location before Dump Manager application starts. Change-Id: I583b8cdb853ac1ac18e50c05404f90a2fbb6d5e1 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2017-07-07phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I3c1387e7f6dddf822a174971a7b8b03f576d728b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-07-05Add native recipe to generate inventory map from MRWMarri Devender Rao1-0/+2
Resolves openbmc/openbmc#1559 Change-Id: I3c663693df78cdf8daac83d49ca35982be27165a Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-27Add new Settings app to imageDeepak Kodihalli1-0/+1
Change-Id: I0775946e1503cda53d138b552d22c0f4da0b5725 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
2017-06-27phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I66378e1c63c8bef71d36e9aaf99fe73d1c5bec3c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-26Add recipe for phosphor-dbus-monitorBrad Bishop1-0/+1
Add a recipe for the phosphor-dbus-monitor application. phosphor-dbus-monitor is a YAML driven dbus event -> response application. Resolves: openbmc/openbmc#1303 Change-Id: If27ab0b73ec23e9f15150e98d5798a41f28435df Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2017-06-23Add rngd to imageLeonel Gonzalez1-0/+1
Resolves openbmc/openbmc#1367 Change-Id: I3f5a48a8fa84b1c02f8c560cb678175f5f329cf6 Signed-off-by: Leonel Gonzalez <lgonzalez@us.ibm.com>
2017-06-22skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I5a3601e7efdea5030dc7fb3f7c9f2ea447bf66d9 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-15skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I2a93386721795f6296e9eca2fc7c023e166f0e9a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-13skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ida5499b5e6c11096aa2f8a655a8d3e91560bd7a7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-12fix duplicate yaml_dir config variable declaration and usageMarri Devender Rao1-1/+0
yaml_dir is defined both in phosphor-dbus-interfaces.bbclass and phosphor-obmc-yaml.bbclass pointing to different locations. Fixed the same by removing usage of phosphor-dbus-interfaces Also removed unused openpower-dbus-interfaces.bbclass Change-Id: I74d06a0f7d635bd708f58611444061c6d48db858 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-12Create a new package for the phosphor-dump-monitor.Jayanth Othayoth1-1/+1
Change-Id: I7f61a48b31d2997c1710c7d0bdde387e5c41a598 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
2017-06-09phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ib2d48213a772508a6d4d700f508dfa63e9a2c449 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-09phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I9fe9243c099f5ef6e8a7436bad21f0e69d38d24d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-09phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I2894ed7aa018bcc6dadca1aed6fe1b829505882c Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-06-08Package yaml files and generated files as part of base classMarri Devender Rao2-1/+4
Change-Id: I6a66dc2fd6d7117f1ac8b085858b911955866814 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-06-07phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I70cc6e6b72799ecbd542af93ba1dda84e6881b9b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>