[systemd-devel] setting up to allow separate udev and systemd builds

Kok, Auke-jan H auke-jan.h.kok at intel.com
Wed Jun 20 13:46:41 PDT 2012


On Wed, Jun 20, 2012 at 12:40 PM, Robert Schwebel
<r.schwebel at pengutronix.de> wrote:
> 1)  build other components
> 2a) build prerequisites necessary for systemd, which are otherwhise
>    unneeded; this needs to be installed into the local sysroot in
>    order to let systemd pick up the prerequisites
> 2b) build systemd+udev
> 2c) somehow remove the "wrong" components from sysroot again, as
>    all the rest of the system is not allowed to see them (otherwhise
>    their configure scripts would assume the features to be there)
> 2d) install only udev
> 3)  move on

this is actually incorrect. There is another solution:

You could easily build dbus-for-systemd inside the systemd buildroot,
and never install dbus to the sysroot, but in a temporary location.
After building the local dbus, system and udev, you just make install
in only the udev parts and you now have a system without dbus or
systemd.

Auke


More information about the systemd-devel mailing list