kbuild: rpm-pkg: Support GNU tar >= 1.29
authorJason Gunthorpe <jgg@mellanox.com>
Fri, 23 Mar 2018 17:59:36 +0000 (11:59 -0600)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 27 Mar 2018 16:42:17 +0000 (01:42 +0900)
commit8a6105c4818cdc4a5c6b8a99c98ab7cc43be1ba8
tree226997b3fdd9f6f7e026d794d255ac6d1a677614
parentf8437520704cfd9cc442a99d73ed708a3cdadaf9
kbuild: rpm-pkg: Support GNU tar >= 1.29

There is a change in how command line parsing is done in this version.
Excludes and includes are now ordered with the file list. Since
the spec file puts the file list before the exclude list it means newer
tar ignores the excludes and packs all the build output into the
kernel-devel RPM resulting in a huge package.

Simple argument re-ordering fixes the problem.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/mkspec