summaryrefslogtreecommitdiff
path: root/resources/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-xresources/scripts/build/release/u-boot-libre8
1 files changed, 7 insertions, 1 deletions
diff --git a/resources/scripts/build/release/u-boot-libre b/resources/scripts/build/release/u-boot-libre
index 97a97628..0f492421 100755
--- a/resources/scripts/build/release/u-boot-libre
+++ b/resources/scripts/build/release/u-boot-libre
@@ -48,7 +48,13 @@ rm -rf ${tmpdir}/.git ${tmpdir}/.gitignore
make -C ${tmpdir} distclean
prefix="$(dirname ${tmpdir} | sed 's#^/*##')/"
-tar cf "${tarball}" "${tmpdir}" --transform="s#${prefix}##"
+tar cf "${tarball}" "${tmpdir}" \
+ --transform="s#${prefix}##" \
+ --format=gnu \
+ --sort=name \
+ --owner=0 --group=0 --numeric-owner \
+ --mtime="1970-01-01" \
+
lzip -9 --keep -vv "${tarball}"
xz -9 --keep -vv "${tarball}"