Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 617878 - sys-kernel/dracut: use pkg-config at runtime for systemd
Summary: sys-kernel/dracut: use pkg-config at runtime for systemd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
: 618668 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-08 18:00 UTC by Mike Gilbert
Modified: 2017-05-29 17:29 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Gilbert gentoo-dev 2017-05-08 18:00:37 UTC
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
Comment 1 Mike Gilbert gentoo-dev 2017-05-15 02:40:33 UTC
I will plan on merging this in a week if no maintainer objects.
Comment 2 Mike Gilbert gentoo-dev 2017-05-16 16:19:55 UTC
*** Bug 618668 has been marked as a duplicate of this bug. ***
Comment 3 Mike Gilbert gentoo-dev 2017-05-29 17:29:03 UTC
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(-)