git: 184d64af1344 - main - locales: stop hardcoding the directories in the mtree

Baptiste Daroussin bapt at FreeBSD.org
Tue Aug 3 20:28:05 UTC 2021


3 août 2021 19:32:44 Rodney W. Grimes <freebsd at gndrsh.dnsmgr.net>:

>> The branch main has been updated by bapt:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=184d64af1344d6f3c370499510cede49320f4863
>>
>> commit 184d64af1344d6f3c370499510cede49320f4863
>> Author:     Baptiste Daroussin <bapt at FreeBSD.org>
>> AuthorDate: 2021-08-03 12:25:00 +0000
>> Commit:     Baptiste Daroussin <bapt at FreeBSD.org>
>> CommitDate: 2021-08-03 12:25:00 +0000
>>
>>     locales: stop hardcoding the directories in the mtree
>>    
>>     The framework knows how to create directories and tag them properly
>>     for a the creation of a mtree, not need to hardcode all the locales
>>     entries in bsd.usr.mk
>>    
>>     This simplifies addition of new locales but also allow people building
>>     with WITHOUT_LOCALES to end up with a directory full of empty files
>
> The uses of /etc/mtree go beyond the simple directory creation,
> please cause something to build a BSD.locale.dist file and install
> it in /etc/mtree to replace the functionality removal you have
> just performed.
>
> Thanks,
> Rod
>

Please provide a valid use case not working anymore after this change and I will consider.

Note that this is not the only part of the tree where the same thing is done.

Best,
Bapt


More information about the dev-commits-src-main mailing list