[arch-general] mkinitcpio compression

Auguste Pop auguste at gmail.com
Sat Feb 26 21:28:02 EST 2011


On Sun, Feb 27, 2011 at 10:12 AM, Dimitrios Apostolou <jimis at gmx.net> wrote:
> Hello list,
>
> I'm using arch on an old laptop with only 128MB RAM. I had problems
> compressing the initcpio image with lzma, it always failed allocating
> memory. The following one-line patch allowed me to set my own compression
> level in mkinitcpio.conf, with COMPRESSION="lzma -4"

can you just set XZ_DEFAULTS=--memlimit=48MiB and leave mkinitcpio
alone? i am not sure if this approach could work.


More information about the arch-general mailing list