Skip to content

Commit 6c4da59

Browse files
committed
build: Drop SOURCEDIST reordering
Making SOURCEDIST deterministic is needless since a git archive is used as the source tarball.
1 parent 5e6b8b3 commit 6c4da59

File tree

3 files changed

+0
-21
lines changed

3 files changed

+0
-21
lines changed

contrib/gitian-descriptors/gitian-linux.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,6 @@ script: |
147147
SOURCEDIST=$(echo bitcoin-*.tar.gz)
148148
DISTNAME=${SOURCEDIST/%.tar.gz}
149149
150-
# Correct tar file order
151-
mkdir -p temp
152-
pushd temp
153-
tar -xf ../$SOURCEDIST
154-
find bitcoin-* | sort | tar --mtime="$REFERENCE_DATETIME" --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST
155-
popd
156-
157150
# Workaround for tarball not building with the bare tag version (prep)
158151
make -C src obj/build.h
159152

contrib/gitian-descriptors/gitian-osx.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -110,13 +110,6 @@ script: |
110110
SOURCEDIST=$(echo bitcoin-*.tar.gz)
111111
DISTNAME=${SOURCEDIST/%.tar.gz}
112112
113-
# Correct tar file order
114-
mkdir -p temp
115-
pushd temp
116-
tar -xf ../$SOURCEDIST
117-
find bitcoin-* | sort | tar --mtime="$REFERENCE_DATETIME" --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST
118-
popd
119-
120113
# Workaround for tarball not building with the bare tag version (prep)
121114
make -C src obj/build.h
122115

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,6 @@ script: |
117117
SOURCEDIST=$(echo bitcoin-*.tar.gz)
118118
DISTNAME=${SOURCEDIST/%.tar.gz}
119119
120-
# Correct tar file order
121-
mkdir -p temp
122-
pushd temp
123-
tar -xf ../$SOURCEDIST
124-
find bitcoin-* | sort | tar --mtime="$REFERENCE_DATETIME" --no-recursion --mode='u+rw,go+r-w,a+X' --owner=0 --group=0 -c -T - | gzip -9n > ../$SOURCEDIST
125-
popd
126-
127120
# Workaround for tarball not building with the bare tag version (prep)
128121
make -C src obj/build.h
129122

0 commit comments

Comments
 (0)