Bug#845034: marked as done (initramfs-tools: please ensure initrd images are reproducible)

2018-07-19 Thread Ben Hutchings
On Thu, 2018-07-19 at 15:53 +1000, Trent W. Buck wrote:
> Debian Bug Tracking System wrote:
> > +   LC_ALL=C sort
> > [and similar LC_ALL=C elsewhere]
> 
> I think you can dial that back from LC_ALL=C to just LC_COLLATE=C.
[...]

Now try with LC_ALL=en_AU.UTF-8 already set in the environment.  That
overrides LC_COLLATE etc.

Ben.

-- 
Ben Hutchings
We get into the habit of living before acquiring the habit of thinking.
 - Albert Camus



signature.asc
Description: This is a digitally signed message part


Bug#845034: marked as done (initramfs-tools: please ensure initrd images are reproducible)

2018-07-18 Thread Trent W. Buck
Debian Bug Tracking System wrote:
> + LC_ALL=C sort
> [and similar LC_ALL=C elsewhere]

I think you can dial that back from LC_ALL=C to just LC_COLLATE=C.

Informal proof:

bash4$ printf %s\\n README ReadMe readme | LC_COLLATE=en_AU.UTF-8 sort
readme
ReadMe
README

bash4$ printf %s\\n README ReadMe readme | LC_COLLATE=C sort
README
ReadMe
readme

bash4$ printf %s\\n README ReadMe readme | LC_ALL=C sort
README
ReadMe
readme