diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2017-06-24 16:48:10 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-07-03 08:02:09 +0900 |
commit | 9e6e0d5f2a2713402cf9dce69b9f9b516e4185d2 (patch) | |
tree | 973967a31fa945bba709b7e03ca2d2729085edcb /scripts/dtc | |
parent | adcc3f7cee29eb831f79f4ac7ba6a0fbce7ac936 (diff) | |
download | linux-9e6e0d5f2a2713402cf9dce69b9f9b516e4185d2.tar.gz linux-9e6e0d5f2a2713402cf9dce69b9f9b516e4185d2.tar.bz2 linux-9e6e0d5f2a2713402cf9dce69b9f9b516e4185d2.zip |
kbuild: create deterministic initramfs directory listings
kbuild runs "find" on each entry in CONFIG_INITRAMFS_SOURCE that is a
directory. The order of the file listing output by "find" matter for
build reproducability, hence this patch applies "sort" to get
deterministic results.
Without this patch, two different machines with identical initramfs
directory input may produce differing initramfs cpio archives (different
hash) due to the different order of the files within the archive.
Signed-off-by: Bjørn Forsman <bjorn.forsman@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/dtc')
0 files changed, 0 insertions, 0 deletions