Skip to content
Snippets Groups Projects
Commit 700dea5a authored by Dmitry Goldin's avatar Dmitry Goldin Committed by Masahiro Yamada
Browse files

kheaders: substituting --sort in archive creation


The option --sort=ORDER was only introduced in tar 1.28 (2014), which
is rather new and might not be available in some setups.

This patch tries to replicate the previous behaviour as closely as
possible to fix the kheaders build for older environments. It does
not produce identical archives compared to the previous version due
to minor sorting differences but produces reproducible results itself
in my tests.

Reported-by: default avatarAndreas Schwab <schwab@suse.de>
Signed-off-by: default avatarDmitry Goldin <dgoldin+lkml@protonmail.ch>
Tested-by: default avatarAndreas Schwab <schwab@suse.de>
Tested-by: default avatarQuentin Perret <qperret@google.com>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 991b78fb
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment