Set SOURCE_DATE_EPOCH to 1610550434.
This should help with determinism/reproducibility.
This commit is contained in:
parent
7eb4f57883
commit
580fecb67c
|
|
@ -29,6 +29,7 @@ bootstrap_complete_base()
|
||||||
export LANG=C
|
export LANG=C
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
export SOURCE_DATE_EPOCH=1610550434
|
||||||
|
|
||||||
bootstrap_cpio_stage3="$R/tmp/bootstrap-${os}-${arch}-stage3.cpio.gz"
|
bootstrap_cpio_stage3="$R/tmp/bootstrap-${os}-${arch}-stage3.cpio.gz"
|
||||||
bootstrap_cpio_stage4="$R/tmp/bootstrap-${os}-${arch}-stage4.cpio.gz"
|
bootstrap_cpio_stage4="$R/tmp/bootstrap-${os}-${arch}-stage4.cpio.gz"
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,7 @@ chroot-script()
|
||||||
|
|
||||||
sudo sed -i "$_path/$_script" \
|
sudo sed -i "$_path/$_script" \
|
||||||
-e 's@^#!/bin/sh@&\nexport DEBIAN_FRONTEND=noninteractive@' \
|
-e 's@^#!/bin/sh@&\nexport DEBIAN_FRONTEND=noninteractive@' \
|
||||||
|
-e 's@^#!/bin/sh@&\nexport SOURCE_DATE_EPOCH=1610550434@' \
|
||||||
-e 's@^#!/bin/sh@&\nexport LC_ALL=C@' \
|
-e 's@^#!/bin/sh@&\nexport LC_ALL=C@' \
|
||||||
-e 's@^#!/bin/sh@&\nexport LANG=C@' \
|
-e 's@^#!/bin/sh@&\nexport LANG=C@' \
|
||||||
-e 's@^#!/bin/sh@&\nset -x ; exec 2>/'$_script'.log@'
|
-e 's@^#!/bin/sh@&\nset -x ; exec 2>/'$_script'.log@'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue