summaryrefslogtreecommitdiff
path: root/meta-phosphor/classes/obmc-phosphor-discovery-service.bbclass
AgeCommit message (Collapse)AuthorFilesLines
2019-08-20Enhance Discovery class infrastructureasmithakarun1-7/+13
The service files contains a 'txt' field, where service-specific data can be added. Addition of this text record facilitates unique identification of IBM BMCs in a network. The idea of this commit is to enhance the bbclass to append a new text record in the avahi static service files. This text record is added only for avahi and not slp. Tested By: The additional data should be in the form of 'Key=Value', else the build will be terminated with the corresponding error. The following possibilities are tested: 1. Key=Value => True 2. Key= => False 3. Key=Value| => True 4. =Value => False 5. Key=Value= => False 6. == => False (From meta-phosphor rev: 2d6aedfb652bc0e6c7657dae586349823e3fb26d) Signed-off-by: asmithakarun <asmithkr@in.ibm.com> Change-Id: Ie0b8466a10097d7fdbfd0c8849a0c0d7145e3923 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.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-06-02Remove the extra space from the directory nameRatan Gupta1-2/+2
There was extra space at the start of the path and due to that bitbake creates the directory named "". This fix strips the spaces from either end. Resolves openbmc/openbmc#1413 Change-Id: I860aa9cbf95c556b938c591e2438b0504207a9f9 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2017-01-12slpd-lite:Create RecipeRatan1-10/+41
-Create the slpd-lite.conf through the bbclass -Create the service file which starts the slpd Change-Id: I10b23bb81492270337e02470c75094eff30b4190 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2016-10-07Removing the double quotes while creating the avahi service file.Ratan Gupta1-3/+3
Change-Id: I028e36db81d1109f773c819efb9da35c0a32c49c Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
2016-10-04Enabling the avahi service.Ratan Gupta1-0/+76
Regsitering the following services with avahi. obmc-console,ssh,sftp(dropbear),obmc-rest Fixes openbmc/openbmc#548 Fixes openbmc/openbmc#549 Change-Id: I20c31e9e8dfa6d52575bc3c1f55ac62eef82ec13 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>