[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XZ compression for the initramfs



On Mon, Jan 04, 2016 at 01:21:49AM +0900, Roger Shimizu wrote:
> I don't worry about memory usage because, according to xz's manpage,
> it simply can be solved by adding 'export
> XZ_DEFAULTS=--memlimit=64MiB"' (or 32MiB or even lower based on your
> box's spec) to your ~/.bashrc.

Could do the job.

> 1. Considering lately there's monthly (if not weekly) security update
> on linux kernel, it's not so "infrequent".

Well I don't think that is normal, although I haven't checked the long
term statistics on it.

> 2. And, it's very annoying that for one "apt upgrade", the
> update-initramfs may be triggered for many times, because of upgrading
> other kernel related pkg such as flash-kernel / initramfs-tools.

Yes that is annoying.  Not sure if there is anything that could be done
to improve the triggers to prevent that from happening.

-- 
Len Sorensen


Reply to: