Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
Use the SystemdUnit parser to determine unit file properties.
Remove DBUS_ACTIVATED_SERVICE:
Rather, infer whether or not the service should be dbus activated
based on SystemdUnit results and act accordingly.
Change-Id: I87eed79b088d8531153e9d366e0f2d2e5ea73e5e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
The exising mechanism for doing substitutions worked but was
cumbersome for expressing more than a handful. Rework the
interfaces such that expressing many substitutions at once
is simpler.
Change-Id: I9ffee7a623219a797797cc8f085e7a06eaf74b3c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Allow the user to be specified package wide or per unit.
Change-Id: I19a56001bd2115462f132c3079690c4b2d0a5ddf
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Enable native recipes to inherit the following classes:
skeleton-python
skeleton-sdbus
skeleton-gdbus
dbus-dir
obmc-phosphor-dbus-service
Change-Id: I1d79ffc38792dd48016f09119fc8ace46a304a4b
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Add DBUS_ACTIVATED_SERVICES_% which allows recipes to specify that
a service can be dbus activated.
Generate a default dbus activation file if none is provided.
Change-Id: Ie18b0968f97762c22f5e0e2e14b493d7ae8261cd
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Instantiate obmc-phosphor-systemd and translate SYSTEMD_%
variables appropriately.
This enables systemd unit files that adhere to the standard
naming convention:
<dbus service name>.service
to be found via DBUS_SERVICE_${PN} and inherit the functionality
of the obmc-phosphor-systemd class.
Add DBUS_USER_%s_%s and translate to SYSTEMD_USER_%s_%s appropriately.
Change-Id: I14f2f6eac60add478c1793da29ba15518dcd958e
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Create a default dbus configuration file when one doesn't exist in
${FILESPATH}.
The default configuration allows the configured user to own the
service name and allows send_destination="*".
Change-Id: If309d2aed02f6326201ce156be3133f05c720b9c
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Take the more idiomatic approach of iterating on
DBUS_PACKAGES to find files.
Change-Id: I7656316b839f666bd1b25b757bef2c14a2cee326
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
|
Make wide open during prototyping phase.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
|
|
Without this, subsequent prepend/appends to SRC_URI don't work.
|
|
|
|
Provided an example service implementation in obmc-phosphor-qemu
|