Commit 664f6a44 authored by T(A)ILS developers's avatar T(A)ILS developers

Compress the initramfs using LZMA.

This is a more (size-wise) efficient algorithm => smaller initramfs
=> faster boot.
parent 75086d49
#!/bin/sh
# Compress the initramfs using a more size-wise efficient algorithm.
OPTS_FILE='/etc/initramfs-tools/initramfs.conf'
[ -f "${OPTS_FILE}" ] || exit 11
sed -i'' 's,^COMPRESS=.*,COMPRESS=lzma,' "${OPTS_FILE}"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment