2 Jun 2012 08:56
[PATCH] Allow disabling the build of all of systemd, leaving just udev
Bryan Kadzban <bryan <at> kadzban.is-a-geek.net>
2012-06-02 06:56:56 GMT
2012-06-02 06:56:56 GMT
Add a new ./configure arg (--disable-systemd) that causes the build system to build, test, and install only udev. Allows udev to be built on a system with many fewer of the build-time dependencies present. Signed-Off-By: Bryan Kadzban <bryan <at> kadzban.is-a-geek.net> ---- Possible points of discussion: Should this flag be called --disable-systemd, as I did? (That follows the autoconf docs, which say --(Continue reading)disable-* should only ever turn stuff off, and --enable-* should only ever turn stuff on.) Or are the autoconf docs irrelevant, and this should be called --enable-udev-only or something, instead? The flag name isn't terribly important to me. (Note that the flag is set to *enable* systemd by default. Disabling it is probably not to be done lightly, and a bunch of other stuff needs to be turned off as well for this to actually build.) Also, a few notes on usage. First, to fully avoid installing systemd stuff, a bunch of directories need to be set to the empty string at "make install" time, or they'll be created and left empty. ("pkgdatadir= polkitpolicydir= bashcompletiondir= pkgsysconfdir= userunitdir= tmpfilesdir= sysctldir= systemunitdir= pkgincludedir= systemgeneratordir=" is the full list.) Second, "make check" fails in the po/ directory if systemd was not
RSS Feed