]> code.ossystems Code Review - openembedded-core.git/commit
matchbox-session-sato: Make the battery applet depend on machine features
authorEran Matityahu <eran.m@variscite.com>
Sun, 30 Jul 2017 15:24:19 +0000 (18:24 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 May 2018 09:00:31 +0000 (10:00 +0100)
commit34b5d507d62ef501fe771bd38cf45d25785dbc90
tree23eb212cb971fd2327d4cf9c4408646509582907
parent6c5cc1b298be6aa1e9d378bc8349e11cbf17d300
matchbox-session-sato: Make the battery applet depend on machine features

matchbox-panel enables the battery plugin only if the
acpi/apm machine features are enabled,
so enable the battery applet in the session script
under the same conditions.

This avoids the 'Failed to load applet "battery"' warning at runtime,
in case these machine features are not defined.

Signed-off-by: Eran Matityahu <eran.m@variscite.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-sato/matchbox-sato/matchbox-session-sato/session
meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb