Skip to content
Snippets Groups Projects
Unverified Commit 67dad3de authored by Johannes Schauer Marin Rodrigues's avatar Johannes Schauer Marin Rodrigues
Browse files

.gitlab-ci.yml: set SOURCE_DATE_EPOCH to the timestamp of the last git commit...

.gitlab-ci.yml: set SOURCE_DATE_EPOCH to the timestamp of the last git commit for reproducible builds
parent 4aa8680c
Branches
Tags
No related merge requests found
Pipeline #1005 passed
...@@ -5,7 +5,7 @@ build: ...@@ -5,7 +5,7 @@ build:
- apt-get update - apt-get update
- apt-get --yes install --no-install-recommends gcc-aarch64-linux-gnu build-essential bison flex device-tree-compiler - apt-get --yes install --no-install-recommends gcc-aarch64-linux-gnu build-essential bison flex device-tree-compiler
- cp mntreform-config .config - cp mntreform-config .config
- env CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm make flash.bin - env SOURCE_DATE_EPOCH=$(git log -1 --format=%ct) CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm make flash.bin
artifacts: artifacts:
paths: paths:
- "flash.bin" - "flash.bin"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment