Hi, Michael Raskin wrote: > Eelco Dolstra wrote: >> However the usefulness of chroots is diminished by the fact that >> many builders depend on /bin/sh, so you need /bin in the list of >> additional directories. (And then on non-NixOS you need /lib as >> well...) > > Maybe /lib should be explicitly prohibited (if a special option is on). > /bin/sh problem can be solved by enabling adding empty writable > directories, so builder will create it itself.
But that would require changes to the builder... Another solution would be to let the user supply a statically linked sh, which would be placed in /bin/sh in the chroot. But in any case additional configuration options would be needed. -- Eelco Dolstra | http://www.cs.uu.nl/~eelco _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
