summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes
AgeCommit message (Collapse)AuthorFilesLines
2018-02-14FRU: Add Entity ID in the host FRU inventory yamlRatan Gupta1-1/+1
This commit also adds the entityID and entityInstance property for BMC FRUS config yaml. These attributes are required to pass it through Get SDR command. Currently we support two types of record format through Get SDR 1) FULL Record. 2) FRU Record. Resolves openbmc/openbmc#2823 Change-Id: Ie7424fbc493dde5070a2c65c74ba83565154b9d4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2018-02-13skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I318ee7e035efec53fc8aee1896f4b775a4e450ed Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06mrw-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ife93c5ebb1b0389ced28d422a4fc6537e083047d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-06phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I7536bfb3927ec6dc93872aeb804c76a4c427fe13 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-02-01systemd: limit bbclass hooks to class-target scopeBrad Bishop2-5/+10
Allow the phosphor systemd and dbus bbclasses to be inherited by recipes using BBCLASSEXTEND (native, etc). No-op in non-target recipe class context. Tested: Built an image and verified dbus and systemd unit files. Change-Id: Ib2f64233f89d05679c568527a074d9236729201f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-02-01skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I8f76a8f5db069b1867e69ee891bee765897255e4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-31phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I7c11bd9ac69c0da05e33bf662c05048221c4a98d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-30Use variables for MRW XML filename and pathMatt Spinler1-0/+2
Create an mrw-xml bbclass that has variables for the MRW XML filename and path to it. Then, changes all users of the MRW XML to inherit that class and use those variables. The filename will default to ${MACHINE}.xml if it hasn't already been set to something else, such as in a .conf file. This is done so that the file can be something other than ${MACHINE}.xml. Change-Id: Ia7021e5a5d5e7946829e58688250aa64250cb00e Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2018-01-24phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ibf0e3d488601fa5a71feda420a9e8d74f8057e79 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-18Enable perf in obmc-phosphor-debugtoolsJoel Stanley1-1/+1
This enables the userspace 'perf' tool and the corresponding kernel configuration. PERF_EVENTS is enabled on ast2500. It was already enabled on ast2400. TIMER_STATS is enabled. This has low runtime impact when not enabled. It defaults to off. Change-Id: Iac1761aec999679b611e9bf9b51d0fe585d7ac5c Signed-off-by: Joel Stanley <joel@jms.id.au>
2018-01-04phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Icf27f69e338a522e0e4c39ec01d3afeaca51cf77 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-04phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I494277822b6848483dba1c25609c73c89a4db25f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2018-01-03skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Id649a330baeacaed7dd33cde407a697d02cd4cb9 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-14skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ia663320b00599b298c599dda58ea1d1d80ae2e73 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-12skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I0ba1edfe94f467733eff4e61ac4c16ca31346ff3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-10phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I62915d266d91e9b43f66786a15b7027f63c90838 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-06phosphor-discovery: Fixes some conditional checkRatan Gupta1-6/+6
Correct the return values from string to boolean of distro feature check for avahi and slp. This commit also correct the check if slp and avahi is not enabled then return Change-Id: I2a19c14fdaf19523702062e6466d636080eeabe6 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-12-05skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Idb7026a2fb1e96e2a2827f04eb40107e22c652a8 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-05phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I1cbb82c47a4188bbc3fd77b876c7142839814bff Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-12-01obmc-phosphor-systemd: fix string trim of instance nameRobert Lippert1-1/+1
Python rstrip argument is a set of characters to strip and not a substring. This caused a weird build failure when the instance name happened to include some characters from the trailing part of the service name. Change-Id: Ib3263c709c7ca85a8c9f63c33945215b8443b806 Signed-off-by: Robert Lippert <rlippert@google.com>
2017-11-28phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ib237e0580915b19b951b6cc08bddef75249a3854 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-28Move obmc-pydevtools to tools packageAdriana Kobylak1-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>
2017-11-27skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I98c18516cea5ae3d59a5572ca10d7dcd84803fe7 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-17phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I7a408520e6b2756fe3f48bc762f960708d1b8903 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-16Calculate the version ID of BMC UBI volumes during build time.Saqib Khan2-20/+46
- When the new ubi layout is flashed onto the BMC, the volumes were named kernel-0 and rofs-0 by default. This tends to be misleading as we can't differentiate between two different BMC versions. - Now the ubi volumes will be named kernel-<versionID> and rofs-<versionID> calculated by getting the hash(SHA-512) of the version and taking the first 8 characters. - The Uboot env needs to be updated to point to the correct kernelname which has now changed from kernel-0 to kernel-<versionID> calculated by getting the HASH(SHA-512) of the version and taking the first 8 characters. Resolves openbmc/openbmc#2323 Change-Id: I258d165b399d1ff59ea86f410006f6d03fe13a2e Signed-off-by: Saqib Khan <khansa@us.ibm.com>
2017-11-15phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I5f2d5add4b0c328e300a08d54b5fc2b567ba00da Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-14obmc-phosphor-image: Add lrzszJoel Stanley1-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>
2017-11-07phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ie76fad285c19272b98d1d8a091d41d14842f1a6b Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-01skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I883e928d03adc989e530174113ca7931a56c56e4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-11-01phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ibe56477bf89e8d2324ba0db33b8bcd13c947ce56 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-26phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I2e436d068e4981734bbcb8c07891fa0bb5e9acb3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-26Enable support for usecase specific bash script invocationMarri Devender Rao1-0/+4
Resolves openbmc/openbmc#2037 Install dreport, dreport.conf, plugins Parse the scripts to fetch config value Create user directories based on config value with softlinks to the plugins Change-Id: If1bdefca362a282132364306b26eecb4b7003390 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-10-26phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I26b17409b2ee94bfc69532d07765fe98a0d2263d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-25phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I11b68e2bf6e27a1879276a5ecfc895191b38c5c0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-24skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ia9ff2a2a43d51a11c846dce8969dc51908c5c2b3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-24Add recipe for phosphor-user-managerVishwanatha Subbanna1-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>
2017-10-19skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I85aafed5c17a7f2c98d1a9384a4e98ab9edff2b2 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-13phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I4dcead9ff935c28101ace8bc904810e7cbc2418d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-13skeleton-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I9bd21cf756a175e3fc3c035611215228a0a5d2cd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-12ipmi: sensor config yaml updatesDhruvaraj Subhashchandran1-1/+1
When marking a unit as functional both functional state and presence need to be checked to avoid marking non-present units as functional. There was a change in yaml structure for accomodating fix for marking non-present units as functional. All these yamls are not sorted by sensor id, so it will easier for a future script based change. Change-Id: I122d652de32ba4f323ee7b31a59078d86e158246 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
2017-10-12phosphor-logging: Add native SDK classes to install parser scriptsMarri Devender Rao1-0/+1
Install elog-gen.py and mako script by default in the obmc-phosphor-image sdk. Change-Id: Ibfb94fc4a645bcca66f7b93656edd88a1af5c4f6 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
2017-10-12phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ica44781fd014a2eed9ca88805bf8657bba0a378a Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-12phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I8a3b3225533a4ac415becc4ae69c89dac9c80dec Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-10mrw-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: I1a96a31a082f6bf1948ce15dd4f5a1a1769545de Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-10-04phosphor-networkd-rev.bbclass: bump versionAndrew Geissler1-1/+1
Change-Id: Ia3aa0cb1050a4c9b3ba592ff4aa8790a7df53355 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2017-09-29phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I1f98a61919c1b5c00d4b8aa0a9bc7a1b3815398b Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-29mrw-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: I5c4f4d9a1b9ec3c900380ec8bb64dc77319d2176 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-26phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: If7b9e8d968d57bc576b62b8c2627ee4c461efa10 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-13phosphor-networkd-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: Ibcb5afb035bd17580bf32da35f20809e4e358a2d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
2017-09-12skeleton-rev.bbclass: bump versionPatrick Williams1-1/+1
Change-Id: If15b0a12487696431844d4a1759adac7c7449ff6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>