From: Jan Kiszka <
jan.k...@siemens.com>
Currently very useful for building constantly broken riscv via sid. The
default value is actually a known-to-work one, taken from isar-cip-core.
Signed-off-by: Jan Kiszka <
jan.k...@siemens.com>
---
kas/opt/Kconfig | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/kas/opt/Kconfig b/kas/opt/Kconfig
index 65482e3a..de7700f5 100644
--- a/kas/opt/Kconfig
+++ b/kas/opt/Kconfig
@@ -44,7 +44,25 @@ config USE_APT_SNAPSHOT
bool "Use the distros snapshot mirror"
depends on !MIRROR_DEBIAN && (DEBIAN_BUSTER || DEBIAN_BULLSEYE || DEBIAN_BOOKWORM || DEBIAN_TRIXIE || DEBIAN_SID || UBUNTU_FOCAL || UBUNTU_JAMMY)
help
- Use a snapshot mirror for the selected distribution. The date is defined by ISAR_APT_SNAPSHOT_TIMESTAMP.
+ Use a snapshot mirror for the selected distribution.
+
+choice
+ prompt "Snapshot date"
+ depends on USE_APT_SNAPSHOT
+ default APT_SNAPSHOT_GIT_DATE
+
+config APT_SNAPSHOT_GIT_DATE
+ bool "Latest git commit"
+
+config APT_SNAPSHOT_CUSTOM_DATE
+ bool "Custom date"
+
+endchoice
+
+config ISAR_APT_SNAPSHOT_TIMESTAMP
+ string "Custom snapshot date"
+ depends on APT_SNAPSHOT_CUSTOM_DATE
+ default "1707606000"
config KAS_INCLUDE_APT_SNAPSHOT
string
--
2.43.0