sys-apps/systemd may be moving from /usr/lib/systemd to /lib/systemd in a future release. dracut will automatically call pkg-config at runtime if the systemd paths are not in the config file. If we use pkg-config at runtime, dracut will continue to work without requiring a rebuild when systemd is moved. See pull request: https://github.com/gentoo/gentoo/pull/4539
I will plan on merging this in a week if no maintainer objects.
*** Bug 618668 has been marked as a duplicate of this bug. ***
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268c6a2f07b64c01a1314f740050cc2cd1e5c8f6 commit 268c6a2f07b64c01a1314f740050cc2cd1e5c8f6 Author: Mike Gilbert <floppym@gentoo.org> Date: Wed May 3 15:32:32 2017 -0400 sys-kernel/dracut: use pkg-config at runtime for systemd sys-apps/systemd may be moving from /usr/lib/systemd to /lib/systemd in a future release. dracut will automatically call pkg-config at run time if these paths are not in the config file. Package-Manager: Portage-2.3.5_p31, Repoman-2.3.2_p61 .../{dracut-044-r2.ebuild => dracut-044-r3.ebuild} | 23 +++++----------------- 1 file changed, 5 insertions(+), 18 deletions(-)