diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-04 16:06:29 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-06 13:32:11 +0000 |
commit | 06b97e8741b6cc5a4149bbafbaabea997b420c39 (patch) | |
tree | 104f2ae7c95ddfb0c4841ee9820905cc7328786f /morphlib/exts/initramfs.write | |
parent | e0d7338382ce69156de0514525ab3935971fcf85 (diff) | |
download | morph-06b97e8741b6cc5a4149bbafbaabea997b420c39.tar.gz |
initramfs.write: create parent directories of location
Diffstat (limited to 'morphlib/exts/initramfs.write')
-rwxr-xr-x | morphlib/exts/initramfs.write | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/exts/initramfs.write b/morphlib/exts/initramfs.write index 815772f2..f8af6d84 100755 --- a/morphlib/exts/initramfs.write +++ b/morphlib/exts/initramfs.write @@ -23,5 +23,5 @@ INITRAMFS_PATH="$2" (cd "$ROOTDIR" && find . -print0 | - cpio -0 -H newc -o | - gzip -c) >"$INITRAMFS_PATH" + cpio -0 -H newc -o) | + gzip -c | install -D -m644 /dev/stdin "$INITRAMFS_PATH" |