From 0d4d33409e69fe2ac9df7fa3f1f6171bc68ca841 Mon Sep 17 00:00:00 2001 From: Attila Lendvai Date: Sun, 22 Oct 2023 22:48:41 +0200 Subject: [PATCH] set SOURCE_DATE_EPOCH without this the image builder fails. this might be connected to the inability of the configure script to properly detect git on guix, but not likely. --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 805de08..0ec38b6 100755 --- a/build.sh +++ b/build.sh @@ -70,6 +70,9 @@ fi pushd ${IMGBUILDER_DIR} +# Without this the image builder fails. +export SOURCE_DATE_EPOCH=$(git show -s --format=%ct HEAD) + make image PROFILE=${TARGET_DEVICE} PACKAGES="${PREINSTALLED_PACKAGES}" FILES=${IMGTEMPDIR} pushd bin/targets/${TARGET_ARCHITECTURE}/