[Pkg-xen-devel] About hotplug/udev

Ralph Passgang ralph at debianbase.de
Mon Feb 20 20:16:23 UTC 2006


Am Montag, 20. Februar 2006 20:51 schrieb Guido Trotter:
> On Mon, Feb 20, 2006 at 07:31:21PM +0100, Julien Danjou wrote:
>
> Hi,
>
> > Yes, it was on sarge.
> > But this dependency is satisfied on sarge with hotplug version
> > included. So it seems not ok.
>
> Probably not... We could just depend on
>
> udev (>= first version which conflicts with hotplug and provides it) |
> hotplug
>
> and we should be fine!

sure? I think that changes nothing, because sarge users will normaly have 
hotplug and udev installed. even if you at say: "I depend on udev >= version 
xyz OR hotplug" the dependency is satisfied, because hotplug is installed and 
that is enough. it's a OR dependcy, no matter if you first mention udev or 
hotplug...

or is it really handled diffrently in debians dependency system?

> > 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 ?
>
> No I think it's ok... I'm currently using xen on sarge with hotplug and it
> seems to be working fine...

it is... as I said, hotplug works on every debian release... hotplug is not 
the problem... udev is a bit more complicated, because for some versions it 
coexists with hotplug (but then it's to old for xen) or in more recent 
releses udev even provides hotplug.

(btw. all my production systems at work are actually debian sarge boxes with 
just hotplug installed).

> > Could be fine, but in fact we have to follow unstable, not really sarge
> > ;)
>
> Yeah, but since we don't know if etch will really be released as soon as
> our release managers say or it will take a dozen years more, it's better if
> we support sarge too! ;)

ack! I think more systems will be running sarge + xen then etch/testing + xen 
for a long while...

I don't believe that the next release is really in december. i would even bet 
on that :)

> > 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.
>
> Yeah, good choice! Now there's just the dependency to be sorted out! If
> mine could work I think we can declare this solved!

I would like that your solution is working, but I thinK there is no real 
difference between:

"hotplug | udev (>= 0.059)" (what I used till now)
and
"udev (>= 0.0XY) | hotplug" (what you suggested)

(where XY is the first udev version that provides hotplug).

"
>
> Guido
>
>
> _______________________________________________
> Pkg-xen-devel mailing list
> Pkg-xen-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-xen-devel



More information about the Pkg-xen-devel mailing list