diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2018-08-17 14:03:19 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-22 16:21:43 +0200 |
commit | f55f2328bb28a8517620518c5d124f5194673309 (patch) | |
tree | b0cd5e82002d5e0f2ee524b036f8f9b1dca594ad /usr/initramfs_data.S | |
parent | kbuild: remove "rpm" target, which is alias of "rpm-pkg" (diff) | |
download | linux-f55f2328bb28a8517620518c5d124f5194673309.tar.xz linux-f55f2328bb28a8517620518c5d124f5194673309.zip |
kbuild: make sorting initramfs contents independent of locale
Some LANG values (e.g. pl_PL.UTF-8) cause the sort command to output
files before their parent directories, which makes them inaccessible for
the kernel. In other words, when the kernel populates the rootfs, it is
unable to create files whose parent directories have not been yet created.
This patch makes sorting use the default (LANG=C) locale, which results in
correctly laid out initramfs images (parent directories before files).
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions