[Nix-dev] fix-style branch, upstart-0.5, vServer ..

Marc Weber marco-oweber at gmx.de
Fri Mar 6 12:01:09 CET 2009


On Mon, Feb 23, 2009 at 04:41:22PM +0100, Nicolas Pierron wrote:
> Hi Nixers,
> 
> I have started the fix-style branch a while ago because this may have

I've converted almost all upstart jobs to the new style now.

I hope I haven't broken too many things. I've tried enabling the jobs
and marked the ones I couldn't test for some reasons..

Eg I haven't verified swraid yet. (I think it just works cause there
haven't been big changes..).

Another issue is that I had to remove some assrtion. (See FIXME
comments).
I've tried the following:
* assert ..;
* if (! assertion) then abort "foo"; else
both yield:
infinite recursion encountered. Either I've missed a point or nix is not
lazy enough somewhere. The most important is about xfs requiring the
font path beeing enabled.

I'll start two brnaches based on fix-style now:
a) upstart-0.5 (because I require it for my virtual servers)

b) vServer support
    * don't build kernel (the virtualizing will provide one..)
    * fake modprobe command. Doesn't work anyway.
    * don't use udev. Doesn't work anyway

  I'll do this by adding the options
  vServer {
    noKernel = mkOption # defaulting to false
    noUdev = mkOption # defaulting to false
    ...
  }

  This will be useful for uml setups as well.

Let me know if you want to join this effort

Marc Weber



More information about the nix-dev mailing list