formatting
This commit is contained in:
parent
3608109b78
commit
a0bd4caf46
12
generate
12
generate
@ -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"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user