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() {
msg info "creating initramfs image"
{
( cd "$tmpdir"
find . |
cpio -oH newc |
gzip -9 ) |
tee "${script_dir}/initramfs-${kernel}.img.gz"
(
cd "$tmpdir"
find . \
| cpio -oH newc \
| gzip -9
) \
| tee "${script_dir}/initramfs-${kernel}.img.gz"
} > /dev/null 2>&1 || msg panic "failed to generate initramfs image"
}