[Nix-dev] Prepending files to initrd

Kosyrev Serge _deepfire at feelingofgreen.ru
Sun Jan 31 00:24:57 CET 2016


Roger Qiu <roger.qiu at matrix.ai> writes:
> Is there a way to detect the current CPIO format being used? Will it 
> always be `newc`?

At the very minimum you could manually iterate over the universe of
types your cpio provides, and compare the outputs with that of the
type-defaulted cpio invocation.

Not the prettiest solution, but one should be surprised if it wouldn't work.

-- 
с уважениeм / respectfully,
Косырев Сергей


More information about the nix-dev mailing list