[Buildroot] [PATCH 1/1] skeleton: Rename /etc/profile.d/umask to umask.sh
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Feb 8 16:25:09 UTC 2016
Nicolas,
Thanks for noticing this bug!
On Mon, 8 Feb 2016 16:42:45 +0100, Nicolas Cavallari wrote:
> /etc/profile only sources files that matches the /etc/profile.d/*.sh
> pattern, so /etc/profile.d/umask was never sourced.
>
> Signed-off-by: Nicolas Cavallari <nicolas.cavallari at green-communications.fr>
> ---
> system/skeleton/etc/profile.d/{umask => umask.sh} | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> rename system/skeleton/etc/profile.d/{umask => umask.sh} (100%)
>
> diff --git a/system/skeleton/etc/profile.d/umask b/system/skeleton/etc/profile.d/umask.sh
> similarity index 100%
> rename from system/skeleton/etc/profile.d/umask
> rename to system/skeleton/etc/profile.d/umask.sh
I'd rather think that /etc/profile should source all files
in /etc/profile.d/. At least that's what I would expect from a
<something>.d/ directory.
What do others think about this?
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list