Commit Graph

17 Commits (33cafd4f126b9a6a60653f620e9402f5a842ecaa)

Author SHA1 Message Date
Slávek Banko 33cafd4f12
create_tarball: Fix excluded items processing.
The list of items to the tarball package is now passed as output from
find and therefore does not work using --exclude option for tar. Items
that is desirable to exclude are now removed from the list using grep.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit eecedb7d61)
4 years ago
Slávek Banko a7d99ab36c
create_tarball: Force file permissions in the tarball.
It addresses independence from UMASK to ensure a reproducible build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 807378eeb2)
5 years ago
Slávek Banko f72bbe3b31
create_tarball: Convert to UTC the date of the last commit,
which is written to '.tdescminfo'.

Because formatting a date using 'git log' does not return results in UTC,
the unix timestamp is used for git log, and conversion to UTC is done
using 'date'.

It addresses time zone independence to ensure a reproducible build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 517a783020)
5 years ago
Slávek Banko b0b74cedc4
create_tarball: Adapted to new 'core' folder for core modules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 9db84075a0)
5 years ago
Slávek Banko b43f26a7cc
create_tarball: Modify the tarball creation so that it is reproducible.
Note: If gzip or pigz is used, it is necessary to use the "-n" option.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 428c2d88b4)
6 years ago
Slávek Banko abf4cb3fbc
create_tarball: Create one .tdescminfo file containing all the data,
including the git repository date, instead of individual .tdescm* files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5c39eb0954)
6 years ago
Slávek Banko ca7a65b56e Update create_tarball and create_all_tarballs
+ default TARGET is now detected from the TDE core header
+ added check if TARGET is valid for the branch

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a4ee973238)
7 years ago
Slávek Banko 7742941f74 Allow to create tarballs on detached branch
For example, for a particular git tag

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2c76932134)
10 years ago
Slávek Banko 34be6b5ed4 Update version number for new target 3.5.13.3
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko 8cf95ae5ad create_tarball: Split initial character in tag while sorting by version
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0a16bdf260)
10 years ago
Slávek Banko 337d014ddd create_tarball: Sort tags as version numbers instead of as text
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 45dd8325b7)
10 years ago
Slávek Banko bf39f95043 create_tarball: Add automatic creation of SCM metadata
(cherry picked from commit c5010d9665)
10 years ago
Slávek Banko a2bc0662a5 create_tarball: Add support for multithreaded compressors
(cherry picked from commit a48d32b281)
10 years ago
Slávek Banko d8d6594611 create_tarball: Fix wrong path transformation in symlinks
(cherry picked from commit f7f29b7ce2)
13 years ago
Slávek Banko 176dee06cd create_tarball: Add other renaming of rebranded packages
Add option to use rebranded names
13 years ago
Slávek Banko 2da96d38f2 create_tarball: Add option to select compression method
(cherry picked from commit 6a19cd9bb6)
13 years ago
Slávek Banko e2250001be Added scripts for creating tarballs
(cherry picked from commit b430a3e49e)
13 years ago