Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630788 - sys-kernel/genkernel-next-67: udevd not found when systemd is not installed
Summary: sys-kernel/genkernel-next-67: udevd not found when systemd is not installed
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel-next (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Ettore Di Giacinto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-12 08:28 UTC by Christian Bricart
Modified: 2017-09-13 11:23 UTC (History)
0 users

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 Christian Bricart 2017-09-12 08:28:29 UTC
# top-down code in gen_initramfs.sh:

append_udev() {
..
    local udevd_bin=/sbin/udevd
    [ ! -e "${udevd_bin}" ] && udevd_bin=${systemd_dir}/systemd-udevd
    [ ! -e "${udevd_bin}" ] && gen_die "cannot find udevd"
..

${systemd_dir} resolves to:
  ..
  local systemd_dir=$(_get_systemdutildir)
  ..

which is:

_get_systemdutildir() {
    local systemdutil_dir=$(pkg-config systemd --variable=systemdutildir)
..

apparently, `pkg-config systemd ..` does not reveal any info if sys-apps/systemd is not installed:

> ~ # pkg-config systemd --variable=systemdutildir
> Package systemd was not found in the pkg-config search path.
> Perhaps you should add the directory containing `systemd.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'systemd' found
> ~ #



Reproducible: Always
Comment 1 Christian Bricart 2017-09-13 11:23:03 UTC
fixed upstream with =sys-kernel/genkernel-next-68