Silence the new-kernel-pkg warning when no /etc/sysconfig/keyboard and do the same for missing /etc/sysconfig/i18n (#517187) --- new-kernel-pkg | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/new-kernel-pkg b/new-kernel-pkg index 8b108b4..bb4cbb1 100755 --- a/new-kernel-pkg +++ b/new-kernel-pkg @@ -443,8 +443,8 @@ fi # add dracut i18n, keyboard and plymouth kernel args if requested if [ -n "$adddracutargs" ]; then - . /etc/sysconfig/keyboard - . /etc/sysconfig/i18n + [ -r /etc/sysconfig/keyboard ] && . /etc/sysconfig/keyboard + [ -r /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n for i in SYSFONT SYSFONTACM UNIMAP LANG KEYTABLE; do val=$(eval echo \$$i) -- 1.6.4 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list