bugGNU GRUB - Bugs: bug #57889, grub-install no longer installs...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57889: grub-install no longer installs locales

Submitted by:  Martin Whitaker <martinwhitaker>
Submitted on:  Mon 24 Feb 2020 11:00:17 PM UTC  
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release: 
Release:  Git master Reproducibility:  Every Time
Planned Release:  None

Mon 24 Feb 2020 11:00:17 PM UTC, original submission:  

grub-install should install the specified (or, if not specified, all available) locale files in the target directory. As of 2.04, it no longer does this. This regression was introduced by

> commit 3d8439da8c9a4acf9bc1c41b364ec6e1680ef052
> Author: Olaf Hering <olaf@aepfle.de>
> Date:   Fri Apr 13 23:36:49 2018 +0200
>
>     grub-install: Locale depends on nls
>    
>     With --disable-nls no locales exist.


This commit surrounds the code that copies the locale files with the condition

> #if !(defined (GRUB_UTIL) && defined(ENABLE_NLS) && ENABLE_NLS)


This condition is inverted, and should be

> #if (defined (GRUB_UTIL) && defined(ENABLE_NLS) && ENABLE_NLS)


The attached patch fixes the problem.

Martin Whitaker <martinwhitaker>

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by martinwhitaker (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-24 martinwhitaker Attached File- => Added 0001-grub-install-fix-inverted-test-for-NLS-enabled-when-.patch, #48494

    Back to the top


    Powered by Savane 3.5