* Messages for package sys-fs/udev-197: * QA Notice: package installs systemd unit files (/lib/systemd/system) * but does not inherit systemd.eclass. In other words, you have to install them to /usr.
I spoke to Kay about this, and what it comes down to is we need to both use the same settings for --with-rootprefix and --with-rootlibdir. Those need to be the following since /usr is splitt from / in gentoo: --with-rootprefix= --with-rootlibdir=/lib Also, any other packages that install systemd units should look up the location to install them with pkgconfig. It should be easy to make the systemd.eclass smart enough to figure out where to put systemd units if we still want to install them when systemd is not installed. I personally will volunteer to do this work so all you have to do is review it. :-)
Since we build systemd with --enable-split-usr, having the udev units in /lib/systemd will "just work". Having all units in the same place would be preferable though.
(In reply to comment #1) > Also, any other packages that install systemd units should look up the > location to install them with pkgconfig. pkg-config == variancy. I don't want variancy. I want to control the location in once place, and be able to control it easily. Using pkg-config will mean that random events will change the install location and nothing will be expectable.
The problem with moving systemd to / is that it is going to require that dbus at least be moved to /, so this is a concern... But, if systemd is configured with the --enable-split-usr switch, it should be able to find the udev units in /lib/systemd/system.
(In reply to comment #4) > But, if systemd is configured with the --enable-split-usr switch, it > should be able to find the udev units in /lib/systemd/system. I think it is not a matter of a technical limitation but rather a distro policy that we are enforcing here.
Created attachment 335114 [details, diff] Proposed ebuild patch
This is fixed in 197-r1.