diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 00:09:09 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-08 00:09:09 +0200 |
commit | 16ffc4c39415e62c1d027d1bc59ee28e267d59f2 (patch) | |
tree | 6b341d1856c8b39b1de8af230f73d138db647848 /scripts/gen_initramfs_list.sh | |
parent | Merge tag 'kbuild-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/mas... (diff) | |
parent | kbuild: create deterministic initramfs directory listings (diff) | |
download | linux-16ffc4c39415e62c1d027d1bc59ee28e267d59f2.tar.xz linux-16ffc4c39415e62c1d027d1bc59ee28e267d59f2.zip |
Merge tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull misc Kbuild updates from Masahiro Yamada:
- Use more portable shebang for Perl scripts
- Remove trailing spaces from GCC version in kernel log
- Make initramfs generation deterministic
* tag 'kbuild-misc-v4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
kbuild: create deterministic initramfs directory listings
scripts/mkcompile_h: Remove trailing spaces from compiler version
scripts: Switch to more portable Perl shebang
Diffstat (limited to 'scripts/gen_initramfs_list.sh')
-rwxr-xr-x | scripts/gen_initramfs_list.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gen_initramfs_list.sh b/scripts/gen_initramfs_list.sh index cb470fdee733..86a3c0e5cfbc 100755 --- a/scripts/gen_initramfs_list.sh +++ b/scripts/gen_initramfs_list.sh @@ -174,7 +174,7 @@ dir_filelist() { ${dep_list}header "$1" srcdir=$(echo "$1" | sed -e 's://*:/:g') - dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n") + dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" | sort) # If $dirlist is only one line, then the directory is empty if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then |