[Pkg-xen-devel] Do we have one make more than necessary?

Guido Trotter ultrotter at debian.org
Mon Feb 20 18:13:37 UTC 2006


On Mon, Feb 20, 2006 at 02:45:26PM +0100, Ralph Passgang wrote:

Hi,

> the pae-hypervisor is working (even if the userspace tools are not compiled 
> "for" a pae version). That means we can definitly supply a non-pae and a pae 
> version of the hypervisor package that doesn't need to conflict with each 
> other in any way... great, that helps a lot in packaging and maybe also for 
> some users that can easily switch between a normal and a pae setup then (if 
> they have kernels installed for both).
> 

Good! :)

> I also edited the rules file "a bit" (and tested it, so it still works *g*)
> 
> I have removed some (at least from now on) useless lines and changed the 
> make-calls a bit. now there will be only the make dist call in the build 
> section (+ the make xen call for the pae hypervisor if build_arch=i386). If 
> you find a better (and more debian-policy compatible) way, please feel free 
> to change it again. I just thought that is at least better then the old way.
> 

I integrated your changes in the big modifications I had planned and was testing
today... The now committed version is as policy compliant as I could get...

There's still a small glitch in the fact that the pae hypervisor gets installed
before (I reverted it that way so this "bug" is only on i386), but we have to
cope with it! The only thing that could save us is to install it before, like it
is now, but to some other place (eg $(CURDIR)/dist) and then copy it later...

The reason why bothering doing so is that IF one was calling the build target as
non-root but then using perhaps sudo rather than fakeroot there is IMHO the risk
of having the pae hypervisor files installed as the uid who built them, which is
not root, and thus is against the debian policy!

Now, this issue won't probably happen, but as I have a fix I will probably apply
it anyway, so we're as compliant as possible!


Guido




More information about the Pkg-xen-devel mailing list