Hi, Lluís Batlle wrote:
> 2010/3/4 Ludovic Courtès <[email protected]>: >> Hi, >> >> Lluís Batlle <[email protected]> writes: >> >>> Any idea on how to get device nodes into tar or cpio archives from a nix >>> build? >> For cpio, perhaps you could pass a tweaked file list to “cpio -ov”? >> (info "(cpio) Tutorial") > I could read /dev only if not building in a chroot, and it may not be > trivial to keep proper paths in the archive, with files from TMPDIR > and /dev. > > By now, the only solution I now goes through the special cpio archiver > that comes with linux, which may be a bit annoying to build. If all else fails, you could use vmTools.runInLinuxVM, which performs the given derivation in a VM as root ;-) -- Eelco Dolstra | http://www.st.ewi.tudelft.nl/~dolstra/ _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
