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.

And for 'tar', maybe there is a tar implementation that would allow
that? I still have to check those.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to