scripts/dl_github_archieve.py: fix generating unreproducible tar
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 12 Jan 2023 13:46:58 +0000 (14:46 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 12 Jan 2023 14:00:55 +0000 (15:00 +0100)
commit8b46a263ab4afaf9857f0d29d369c2eefbf8a4f4
treee0a2ca3beadd12c8b933909c6a165f6065e8b294
parent1b6e9b3f64344aa17bdb2dc7b89bb2765305dbe5
scripts/dl_github_archieve.py: fix generating unreproducible tar

Allign dl_github_archieve.py to 8252511dc0b5a71e9e64b96f233a27ad73e28b7f
change. On supported system the sigid bit is applied to files and tar
archieve that on tar creation. This cause unreproducible tar for these
system and these bit should be dropped to produce reproducible tar.

Add the missing option following the command options used in other
scripts.

Fixes: 75ab064d2b38 ("build: download code from github using archive API")
Suggested-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Tested-by: Robert Marko <robimarko@gmail.com>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 5f1758ef14575df4e86896526b1c2035c231899e)
scripts/dl_github_archive.py