On 木, 2017-01-19 at 16:39 +0800, Dave Young wrote:
Hi,
On 01/19/17 at 01:57pm, Tong Li wrote:
>
> Resolves: bz1411240
> Use --hostonly-i18n to force dracut to install only needed
> keyboard and font files according to host's configuration, which
> reduced initramfs's size by 2M on F25 x86_64.
Is it the compressed size? The size we cared is the uncompressed size
because in 2nd kernel they will be uncompressed in ram.
Yes, it was compressed size. The option reduced the size of
uncompressed initramfs by about 5M.
>
>
> Signed-off-by: Tong Li <tonli(a)redhat.com>
> ---
> mkdumprd | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mkdumprd b/mkdumprd
> index 3359383..f30d9c2 100644
> --- a/mkdumprd
> +++ b/mkdumprd
> @@ -37,7 +37,7 @@ is_wdt_addition_needed
> [[ $? -eq 0 ]] && WDTCFG="-a watchdog"
>
> extra_modules=""
> -dracut_args=("--hostonly" "-o" "plymouth dash resume
ifcfg"
> $WDTCFG)
> +dracut_args=("--hostonly" "--hostonly-i18n" "-o"
"plymouth dash
> resume ifcfg" $WDTCFG)
> OVERRIDE_RESETTABLE=0
>
> add_dracut_arg() {
> --
> 2.7.4
> _______________________________________________
> kexec mailing list -- kexec(a)lists.fedoraproject.org
> To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Thanks
Dave
Regards,
Tong