<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11815</bug_id>
          
          <creation_ts>2017-07-20 15:00:14 +0000</creation_ts>
          <short_desc>Cannot install glibc locale.alias in image</short_desc>
          <delta_ts>2021-03-04 16:27:23 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>4.99</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Watt">JPEWhacker</reporter>
          <assigned_to name="Joshua Watt">JPEWhacker</assigned_to>
          <cc>JPEWhacker</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>75190</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2017-07-20 15:00:14 +0000</bug_when>
    <thetext>The current packaging process for glibc causes the /usr/share/locale/locale.alias file to get picked up by the automated locale package generation code in package.bblcass. This results in a package called: glibc-locale-locale.alias, which is not a valid package that can be installed in an image (presumably because it contains a &quot;.&quot; ?)

I think it would be ideal if the alias file could be installed by specifying it in the IMAGE_LINGUAS variable (e.g. IMAGE_LINGUAS = &quot;alias&quot;)

A Documentation change is probably not strictly necessary, but it might be nice to document how to get the locale.alias file on an image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75193</commentid>
    <comment_count>1</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2017-07-20 15:16:00 +0000</bug_when>
    <thetext>This can be packaged into /etc
I think it can be</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75202</commentid>
    <comment_count>2</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2017-07-20 16:10:09 +0000</bug_when>
    <thetext>IIRC it can be in /etc, but glibc installs it in /usr/share/locale. Would we try to change the location of the file from where glibc places it?

Also, I do have a patch to fix this, I just haven&apos;t had time to send it to the mailing list yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75203</commentid>
    <comment_count>3</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2017-07-20 16:12:21 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; IIRC it can be in /etc, but glibc installs it in /usr/share/locale. Would we
&gt; try to change the location of the file from where glibc places it?
&gt; 

thats one way to get the issue resolved.

&gt; Also, I do have a patch to fix this, I just haven&apos;t had time to send it to
&gt; the mailing list yet.

please post your patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75222</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2017-07-21 13:10:38 +0000</bug_when>
    <thetext>It turns out that even with my patch, the locale.alias file seems to be ignored (regardless of if it is in /usr/share/locale or /etc). None of the aliased locales show up when I run the locale program, so I want to look into why that is happening.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89497</commentid>
    <comment_count>5</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-03-04 16:27:23 +0000</bug_when>
    <thetext>Not seen in years. Reopen if seen.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>