Commit 554d31a8 authored by Robert Rose's avatar Robert Rose
Browse files

Revert "k3s: fix build reproducibility"

This reverts commit b318b8a3.

The change introduced by this commit is merged upstream (k3s) and available in
all recent releases.
parent 09301f29
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -393,10 +393,6 @@ buildGoModule (finalAttrs: {
      --replace-fail '"$LDFLAGS $STATIC" -o' \
                '"$LDFLAGS" -o'

    # Ensure the embedded tarball is reproducible: sort file order and clamp timestamps
    substituteInPlace scripts/package-cli \
      --replace-fail 'tar cvf' 'tar c --sort=name --mtime=@0 -vf'

    # Add the -e flag to process "errornous" packages. We need to modify this because the upstream
    # build-time version detection doesn't work with a vendor directory.
    substituteInPlace scripts/version.sh \