formatting

This commit is contained in:
illiliti 2020-02-11 21:02:23 +03:00
parent 3608109b78
commit a0bd4caf46
2 changed files with 153 additions and 151 deletions

View File

@ -390,11 +390,13 @@ EOF
create_initramfs() { create_initramfs() {
msg info "creating initramfs image" msg info "creating initramfs image"
{ {
( cd "$tmpdir" (
find . | cd "$tmpdir"
cpio -oH newc | find . \
gzip -9 ) | | cpio -oH newc \
tee "${script_dir}/initramfs-${kernel}.img.gz" | gzip -9
) \
| tee "${script_dir}/initramfs-${kernel}.img.gz"
} > /dev/null 2>&1 || msg panic "failed to generate initramfs image" } > /dev/null 2>&1 || msg panic "failed to generate initramfs image"
} }