]> git.ipfire.org Git - thirdparty/dracut.git/commit
50plymouth: improve distro compatibility
authorDaniel Molkentin <dmolkentin@suse.com>
Thu, 18 Jan 2018 16:45:01 +0000 (17:45 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 30 Jan 2018 09:14:22 +0000 (10:14 +0100)
commit421b46f8ae89cfe2b62e880a8a5079ee8c1b3aae
treee06cd6e01e1c2741daf840dc40807564f99909a5
parentc88c3215e83000bf32d3e1e45b8bad17a9f39615
50plymouth: improve distro compatibility

The existence of dpkg-achitecture is not indicative of a debian
installation. It may well be installed on systems of people who
package for both distros. The previous code path did not take
that into account.

We now traverse all known plymouth directories, locking on the first
valid one, and try to work with it.

At the same time, we do not include the module if the plymouth directory
could not be found.
modules.d/50plymouth/module-setup.sh