]> git.ipfire.org Git - thirdparty/plymouth.git/commit
two-step: Only create background_bgrt_fallback_image if use_firmware_background is set
authorHans de Goede <hdegoede@redhat.com>
Fri, 5 Mar 2021 11:02:21 +0000 (12:02 +0100)
committerHans de Goede <hdegoede@redhat.com>
Fri, 5 Mar 2021 12:55:10 +0000 (13:55 +0100)
commitc5db6cf2d1473c2f63e1a34f22c0832ab78c55ef
treed4b2a35dcd68345db385fbdf7201ba228b912ff6
parent9cb47b71cb089486cd9f6156f53f3bf1741809a0
two-step: Only create background_bgrt_fallback_image if use_firmware_background is set

We should not create (and try to use) the background_bgrt_fallback_image
when the config file has not requested use of the firmware-background.

Otherwise we will end up using bgrt-fallback.png if present even when the
config file has not requested usage of the firmware-background.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
src/plugins/splash/two-step/plugin.c