From mboxrd@z Thu Jan 1 00:00:00 1970 From: William Hubbs Date: Sun, 03 Jun 2012 21:22:09 +0000 Subject: Re: [PATCH] Allow disabling the build of all of systemd, leaving just udev Message-Id: <20120603212209.GA19733@linux1> MIME-Version: 1 Content-Type: multipart/mixed; boundary="r5Pyd7+fXNt84Ff3" List-Id: References: <4FC9B938.6020608@kadzban.is-a-geek.net> In-Reply-To: <4FC9B938.6020608@kadzban.is-a-geek.net> To: linux-hotplug@vger.kernel.org --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 03, 2012 at 09:55:55AM -0700, Bryan Kadzban wrote: > William Hubbs wrote: > > this looks good to me, but there are still pieces being installed > > which should not be installed for a udev-only build afaik. > >=20 > > You might want to look at removing those also. >=20 > Which pieces? >=20 > The only things that get installed in my case are the rules, udev.conf, > systemd-udevd, udevadm, the helper binaries, the manpages, libudev, the > udev and libudev pkg-config files, and stuff in /usr/share/doc. Though > I do use a lot of the existing ./configure knobs to turn other systemd > things off; maybe that's related. Maybe it is, because I get the following things that would also be installed: etc/bash_completion.d etc/systemd usr/include/systemd usr/lib/sysctl.d usr/lib/systemd/system-generators usr/lib/systemd/user usr/share/man/man1 usr/share/man/man3 usr/share/man/man5 usr/share/polkit-1 usr/share/polkit-1/actions usr/share/systemd > Unless you mean the directories that are getting created, as in the > previous message -- but I don't see a way to stop automake from doing > that. Well, other than setting them to nothing in the Makefile.am if > !ENABLE_SYSTEMD; duh, I should have done that. But that still seems a > bit cosmetic to me. =20 Yes, I am referring to empty directories and I can see how you might see it as cosmetic, but would you consider not creating the directories? > (One thing I need to do today is fix this so that "make distdir" works > even with --disable-systemd. Should be able to pull the EXTRA_DIST > stuff out of the conditionals to do that. So I'll probably look into > setting these directories to nothing in that case as well.) Ok, that may do it. One more thing though, thinking about it, is that we will need the systemd-tmpfiles tool because udev is not going to support the /lib/udev/devices directory any longer for creating custom devices, so you might want to still build and install all of the parts of that for a standalone udev build if doing so doesn't bring in more dependencies. Thanks, William --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEARECAAYFAk/L1YEACgkQblQW9DDEZTglwwCguBOq6ErtcejWCk2b+/PBjXvg 4aMAn2JmWxswgtQa8JC0VZ8+fd7HjQVL =de/n -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3--