NixOS/nixpkgs — pull request #1326 by wizeman (2013-12-05 01:36:16+00:00)
Title: make-initrd.sh: Fix extracting initrd as non-root user

A non-root user cannot extract cpio archives that have read-only directories
with subdirectories or files unless these files appear in the archive
before the read-only directory.

The fix is to pass the -depth option to find, so that the contents of
directories get archived before the directories.