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.
Signed-off-by: Tong Li tonli@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() {
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.
Signed-off-by: Tong Li tonli@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@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
Thanks Dave
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@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@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
Thanks Dave
Regards, Tong
On 01/19/2017 at 01:57 PM, 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.
Signed-off-by: Tong Li tonli@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)
Not sure if we even need local i18n, can we only support "English" environment? For example, I added "-o i18n" instead, and it seems work properly on my zh_CN.UTF-8 environment.
Regards, Xunlei
OVERRIDE_RESETTABLE=0
add_dracut_arg() {
On 01/19/17 at 11:48pm, Xunlei Pang wrote:
On 01/19/2017 at 01:57 PM, 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.
Signed-off-by: Tong Li tonli@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)
Not sure if we even need local i18n, can we only support "English" environment? For example, I added "-o i18n" instead, and it seems work properly on my zh_CN.UTF-8 environment.
Probably can't. Customers require local env, there's a zanata which is a project to do the translation, we ever were tortured by the process.
Thanks Baoquan
On 01/20/17 at 08:41am, Baoquan He wrote:
On 01/19/17 at 11:48pm, Xunlei Pang wrote:
On 01/19/2017 at 01:57 PM, 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.
Signed-off-by: Tong Li tonli@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)
Not sure if we even need local i18n, can we only support "English" environment? For example, I added "-o i18n" instead, and it seems work properly on my zh_CN.UTF-8 environment.
Probably can't. Customers require local env, there's a zanata which is a project to do the translation, we ever were tortured by the process.
Hmm, the translation is previously for the firstboot module which is used for the installation gui. The i18n dracut module is different, is is more for console fonts and kbd settings.
Thanks Baoquan _______________________________________________ kexec mailing list -- kexec@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
On 01/19/17 at 11:48pm, Xunlei Pang wrote:
On 01/19/2017 at 01:57 PM, 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.
Signed-off-by: Tong Li tonli@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)
Not sure if we even need local i18n, can we only support "English" environment? For example, I added "-o i18n" instead, and it seems work properly on my zh_CN.UTF-8 environment.
There was a bug before in RHEL6 about font missing, later we added console font to fix it, just search git log about below subject: "add default console font"
So it depends on user setting about locale, maybe default UTF8 setup is fine without i18n module, but we are not sure it works with all setup..
Regards, Xunlei
OVERRIDE_RESETTABLE=0
add_dracut_arg() {
kexec mailing list -- kexec@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
Thanks Dave
On 01/20/17 at 10:27am, Dave Young wrote:
On 01/19/17 at 11:48pm, Xunlei Pang wrote:
On 01/19/2017 at 01:57 PM, 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.
Signed-off-by: Tong Li tonli@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)
Not sure if we even need local i18n, can we only support "English" environment? For example, I added "-o i18n" instead, and it seems work properly on my zh_CN.UTF-8 environment.
There was a bug before in RHEL6 about font missing, later we added console font to fix it, just search git log about below subject: "add default console font"
So it depends on user setting about locale, maybe default UTF8 setup is fine without i18n module, but we are not sure it works with all setup..
Another thing is keyboard map, without correct keyboard map, one can not input correctly in kdump default shell. There are various keyboard layout besides of en
Regards, Xunlei
OVERRIDE_RESETTABLE=0
add_dracut_arg() {
kexec mailing list -- kexec@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
Thanks Dave _______________________________________________ kexec mailing list -- kexec@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
On 01/20/2017 at 05:04 PM, Dave Young wrote:
On 01/20/17 at 10:27am, Dave Young wrote:
On 01/19/17 at 11:48pm, Xunlei Pang wrote:
On 01/19/2017 at 01:57 PM, 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.
Signed-off-by: Tong Li tonli@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)
Not sure if we even need local i18n, can we only support "English" environment? For example, I added "-o i18n" instead, and it seems work properly on my zh_CN.UTF-8 environment.
There was a bug before in RHEL6 about font missing, later we added console font to fix it, just search git log about below subject: "add default console font"
So it depends on user setting about locale, maybe default UTF8 setup is fine without i18n module, but we are not sure it works with all setup..
Another thing is keyboard map, without correct keyboard map, one can not input correctly in kdump default shell. There are various keyboard layout besides of en
Yes, anyway this is what rhel7 currently does: Reviewed-by: Xunlei Pang xlpang@redhat.com
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.
Will change the size to uncompressed size when applying.
Acked-by: Dave Young dyoung@redhat.com
Signed-off-by: Tong Li tonli@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@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org