<br><br><div class="gmail_quote">2012/6/15 William Hubbs <span dir="ltr">&lt;<a href="mailto:w.d.hubbs@gmail.com" target="_blank">w.d.hubbs@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Auke,<br>
<div class="im"><br>
On Fri, Jun 15, 2012 at 04:26:36AM +0000, Kok, Auke-jan H wrote:<br>
&gt; On Fri, Jun 15, 2012 at 2:32 AM, William Hubbs &lt;<a href="mailto:w.d.hubbs@gmail.com">w.d.hubbs@gmail.com</a>&gt; wrote:<br>
&gt; &gt; Hello Auke,<br>
&gt; &gt;<br>
&gt; &gt; I will answer your concerns as best as I can below.<br>
&gt; &gt;<br>
&gt; &gt; On Thu, Jun 14, 2012 at 03:35:09PM -0700, Kok, Auke-jan H wrote:<br>
&gt; &gt;&gt; 1) Timing. systemd+udevd just got merged.  We had a huge build system<br>
&gt; &gt;&gt; change. Let&#39;s not change it drastically again entirely now.<br>
&gt; &gt;<br>
&gt; &gt; From the point of view of a source based distro, the build system<br>
&gt; &gt; as it currently stands is broken. Upstream supports running udev without<br>
&gt; &gt; systemd, so why not building udev standalone as well, especially since<br>
&gt; &gt; there is interest in doing the work?<br>
&gt;<br>
&gt; It&#39;s not broken at all. What is broken is the assumption that one can just<br>
&gt; run `make install` willy nilly in a source distro and overwrite files in<br>
&gt; the live system.<br>
&gt;<br>
&gt; This is a design problem in ALL source based distro&#39;s (including the one<br>
&gt; I worked on for years) and can&#39;t be fixed by upstream. Source distro&#39;s<br>
&gt; should really work on doing a proper `make DESTDIR= install` or use<br>
&gt; fakeroot/chroot installs and buffer the installation of files before the<br>
&gt; real rootfs is overwritten.<br>
&gt;<br>
&gt; Not solving that is an error that the source distributions should solve,<br>
&gt; and definitely should not be the reason for an upstream project to jump<br>
&gt; to the aid of source distros.<br>
<br>
</div>As Wulf already pointed out, gentoo already does this properly, and we<br>
also do our own sanity checks before we move the package to the live fs.<br>
<br>
This is definitely not an issue we expect upstream projects to solve<br>
 other than supporting DESTDIR, which udev and systemd already do.<br>
<div class="im"><br>
&gt; &gt;&gt; 4) Can be maintained out of tree for now: Nothing prevents gentoo from<br>
&gt; &gt;&gt; keeping this patch out of tree for their purposes.<br>
&gt; &gt;<br>
&gt; &gt;  Yes, we could, but what about exherbo, funtoo, linux from scratch and<br>
&gt; &gt;  the other source based distros that may be out there?<br>
&gt;<br>
&gt; they could pull the patch from gentoo&#39;s repository.<br>
<br>
</div>I suppose they could if they were comfortable doing that, but I tend to<br>
agree with Wulf on this; I would rather not have custom patches being<br>
shared between distros. Honestly I would rather have as few custom<br>
patches as possible; custom patches can be a headache to maintain.<br>
<div class="im"><br>
&gt; I think this patch would be a lot more acceptable if you drop the split<br>
&gt; Makefile.am, remove the --disable-systemd option and just create an extra<br>
&gt; &quot;make install-udev&quot; target.<br>
&gt;<br>
&gt; It would be a lot smaller too.<br>
<br>
</div>I could rework it so I don&#39;t split up the makefiles, sure, but let me<br>
explain why the install-udev target does not solve the issue we are<br>
trying to solve.<br>
<br>
systemd has several more dependencies than udev. Because of that and<br>
because of the way the build system is setup to only do a full systemd<br>
build, I have to install all of systemd&#39;s dependencies on every gentoo<br>
user&#39;s system regardless of whether or not they are using systemd or<br>
udev standalone.<br></blockquote><div><br>That&#39;s not true. Please tell us exactly which lib is use only by systemd and not by the rest of the system.<br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

<br>
What I need is a way to tell the configure script and Makefiles that I<br>
am only interested in building udev and not a full systemd build.<br>
<br>
There was another patch that came from the linux from scratch community<br>
posted on the linux-hotplug list [1].<br>
<br>
I spoke with Kay about that patch, and he didn&#39;t sound like he liked it<br>
too much.<br>
<br>
William<br>
<br>
[1] <a href="http://www.spinics.net/lists/hotplug/msg05529.html" target="_blank">http://www.spinics.net/lists/hotplug/msg05529.html</a><br>
<br>_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
<br></blockquote></div><br>