Commit Graph

23 Commits (e0f9ba321177863b1d3d1fff47630722ac08569e)

Author SHA1 Message Date
Slávek Banko e0f9ba3211
create_tarball: Add package version into '.tdescminfo'.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a810c4d292)
3 years ago
Slávek Banko 63362e5037
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)
3 years ago
Slávek Banko 23145430b1
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)
4 years ago
Slávek Banko 3bff5cbf91
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)
4 years ago
Slávek Banko f2c0ac2aa5
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)
4 years ago
Slávek Banko 444f4bbf72
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)
5 years ago
Slávek Banko 6d5bbbe14b
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)
5 years ago
Slávek Banko c0339738cf 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 9982b4a55e Update version number for new target R14.0.5 8 years ago
Slávek Banko 0e9786f3a5 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)
9 years ago
Slávek Banko 2b30dcc138 Update version number for new target R14.0.4 9 years ago
Slávek Banko 5097cbe74c Update version number for new target R14.0.3 9 years ago
Slávek Banko 4b764e3a1f Update version number for new target R14.0.2 10 years ago
Slávek Banko 41bd09eab9 Update default target release to R14.0.1
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko 580cb8e6f8 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 45dd8325b7 create_tarball: Sort tags as version numbers instead of as text
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
10 years ago
Slávek Banko c5010d9665 create_tarball: Add automatic creation of SCM metadata 11 years ago
Slávek Banko a48d32b281 create_tarball: Add support for multithreaded compressors 12 years ago
Slávek Banko f7f29b7ce2 create_tarball: Fix wrong path transformation in symlinks 12 years ago
Slávek Banko f18522cfd5 create_tarball: Remove unneeded renaming of rebranded packages 12 years ago
Slávek Banko 6a19cd9bb6 create_tarball: Add option to select compression method 12 years ago
Slávek Banko d5d288f9e8 create_tarball: Add renaming of rebranded packages 12 years ago
Slávek Banko b430a3e49e Added scripts for creating tarballs 12 years ago