Age | Commit message (Collapse) | Author | Files | Lines |
|
xyz-openbmc-project-inventory.service dependency is removed
from first-boot-set-hostname service. Unique hostname
service may depend only on the VPD parser service, which
has dependency on the Inventory service.
(From meta-openpower rev: 3c830d7d08a729935e1ed9eece82a2a64ca693cc)
Signed-off-by: asmithakarun <asmithkr@in.ibm.com>
Change-Id: Ib4445d418ce5f64676b1758ba3d7b216f54d7964
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
xyz.openbmc_project.Inventory.Item.Bmc is a null
interface where the SerialNumber is not present.
xyz.openbmc_project.Inventory.Decorator.Asset
interface contains the SerialNumber and is replaced
in place of the former interface.
Tested by:
1. Finding SerialNumber in Inventory interface
- busctl introspect xyz.openbmc_project.Inventory.Manager /xyz/openbmc_project/inventory/system/chassis/motherboard/boxelder/bmc
output:
[[0;1;39mxyz.openbmc_project.Inventory.Decorator.Asset [[0m interface - - -
.BuildDate property s "" emits-change writable
.Manufacturer property s "IPS " emits-change writable
.Model property s "" emits-change writable
.PartNumber property s "01DH137 " emits-change writable
.SerialNumber property s "YL10UF76W015 " emits-change writable
2. Finding hostname
- hostname
output:
witherspoon
(From meta-openpower rev: cb0591457e1af5e79e8ac63770897ec1f25a1d51)
Signed-off-by: asmithakarun <asmithkr@in.ibm.com>
Change-Id: Ia7234471503562cfcbe14630e2e1352a3a84062e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Adds missing dependency to unit files for first-boot-set-mac and
first-boot-set-hostname services.
(From meta-openpower rev: 1c2db54d25f5cdf23cc8bf491c8e21195ff554a7)
Change-Id: I0e2c6c3597dff9dee290dc10b8ff994c35a8375d
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Makes the showing of the warnings in the first-boot-set-mac.sh and
first-boot-set-hostname.sh are same
If the script runs manually the warning messages are shown on STDERR.
If the script runs as a systemd unit the warning messages are shown in
a system journal.
(From meta-openpower rev: f80fbdb15330f694e4f80992470605d46b998efd)
Change-Id: I44bdc5ff3ad6bee3bcae2d2a0e574cac3353cdde
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
To prevent hostnames conflicts this service appends to the default
hostname a Serial Number retrieved from Inventory Manager.
This operation is executed only at the first boot or after a factory reset.
This will be skipped if hostname is manually configured to a non default
value.
(From meta-openpower rev: 55281dffb43c4c59a5fce24727627fa3de1498fe)
Change-Id: I9c3aa7c19cf595a599baab71b2af49defb4b8c76
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|