Age | Commit message (Collapse) | Author | Files | Lines |
|
In the spirit of consistency with the new upstream override
syntax, change phosphor-discovery-service.bbclass to use it
and make tree-wide changes as appropriate.
After the change checked on Witherspoon on QEMU:
```
root@witherspoon:/etc/avahi/services# ls
obmc_console.service obmc_redfish.service obmc_rest.service
```
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib1fe3cce57a0130378af789abd83b457e0c3a318
|
|
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
|
|
Fix the following warning in bitbake:
WARNING: python should use 4 spaces indentation, but found tabs in
obmc-phosphor-discovery-service.bbclass, line 76
(From meta-phosphor rev: 427731f6f772ea7172ad4dc5328fa11ab51c3b17)
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I23ecd244376ecc2dff2bc7bea6902a567404196a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
Currently, we'll export avahi services solely under their service names.
With multiple BMCs on a network, this ends up with multiple
indistinguisable services exposed over avahi:
[jk@pecola ~]$ avahi-browse _obmc_console._tcp
+ br0 IPv6 obmc_console _obmc_console._tcp local
+ br0 IPv4 obmc_console _obmc_console._tcp local
+ br0 IPv4 obmc_console #2 _obmc_console._tcp local
+ br0 IPv6 obmc_console #2 _obmc_console._tcp local
This change uses the hostname as the identifier instead. There's no need
to include the service name, as that's what the service type field is
for.
(From meta-phosphor rev: d4e212eeed5832685839e24cf9ec4207ea3f32ae)
Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Change-Id: I6b18b60c28cf4f2699693d41c2d52d56cd87a26a
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
|
|
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>
|
|
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>
|
|
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>
|
|
-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>
|
|
Change-Id: I028e36db81d1109f773c819efb9da35c0a32c49c
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
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>
|