[Pkg-xen-devel] About hotplug/udev

Guido Trotter ultrotter at debian.org
Mon Feb 20 18:28:32 UTC 2006


On Mon, Feb 20, 2006 at 06:47:49PM +0100, Ralph Passgang wrote:

Hi,

> were you forced to remove udev to install my xen3 packages? if so, then we 
> should change the dependcy to "hotplug | udev" again, because it's not a 
> problem to have sarge's udev version installed, but in this case hotplug is 
> used by xen and udev ignored. 
> 

I think the best dependency would be on
udev (>= 0.059) | hotplug
This way we both satisfy sarge (who will need hotplug) users and sid users (who
will install udev). Also backports users are fine! 

> We could add a udev version check into xendomains or the xend init-script, so 
> that sarge users will be informed that their udev version is to old and 
> hotplug will be used.
> 

Not needed: if their version is too old, then it doesn't satisfy the dependency
and hotplug must be installed...

> we have "hotplug" as build-dependcy. by doing this we can be sure to have the 
> hotplug etc scripts installed by the normal make all/dist call. But because 
> we want to have also udev support I added the "make udev-install" line in the 
> rules file. But is it really clever to go this way? Wouldn't it be better to 
> not build-depend on hotplug (I guess for compiling it's not needed in any 
> way) and then call "make hotplug-install" & "make udev-install"?
> 

I think we shouldn't build-depend on hotplug... Especially since udev both
provides it and conflicts with it, and so we son't ever be sure it's really
there, and it's not udev instead...

Let's just do as you say and call "make hotplug-install" & "make udev-install",
at least for now!

Guido




More information about the Pkg-xen-devel mailing list