[Pkg-xen-devel] About hotplug/udev

Julien Danjou acid at debian.org
Mon Feb 20 18:31:21 UTC 2006


On Mon, Feb 20, 2006 at 06:47:49PM +0100, Ralph Passgang wrote:
> on sarge? sarge's udev is too old (that's why I added this dependency
> at all). 

Yes, it was on sarge.
But this dependency is satisfied on sarge with hotplug version
included. So it seems not ok.

> If you want to use udev on sarge in combination with xen then you have to use 
> a backported udev in any case.

This is what I done, but I had to discover it by myself, because the
dependency was satisfied by hotplug.
Is hotplug too old on Sarge ?

> 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. 

No, if I recall correctly, I had to upgrade it. But I think I did not
try to use only hotplug instead of udev. I know that I wanted udev
installed.

Maybe there is no problem currently, but since I had some troubles with
your packages and udev/hotplug last week end, I prefer to tell it right
now. ;-)

Anyway this is only a Sarge issue.

> 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.

Could be fine, but in fact we have to follow unstable, not really sarge ;)

> but that rembers me of something that we should discuss too:

Fine ! ;)

> 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"?

Really really really clever.
Having a build-dep on hotplug or udev is ugly I think. (I did not see this).
Furthermore, hotplus is now provided by udev, IIRC.

-- 
Julien Danjou
.''`.  Debian Developer
: :' : http://julien.danjou.info
`. `'  http://people.debian.org/~acid
  `-   9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20060220/00b0d4d7/attachment-0001.pgp


More information about the Pkg-xen-devel mailing list