From e9787b55c8f597ac08233705c84b5b51b964e511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Stefanik?= Date: Sat, 23 Dec 2023 07:18:24 +0100 Subject: [PATCH] Add breakpoints between passes for INTERNAL_CI These are implemented as dummy jumps with a script that just exits with success. Since this script will be sourced, rather than called, this causes the bootstrap process to exit at that point. The breakpoints are conditional on INTERNAL_CI (we check for "pass1" because that's the only pass when script-generator runs, but the resulting effect is that each pass only bootstraps its own part of the manifest). --- steps/jump/break.sh | 1 + steps/manifest | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 steps/jump/break.sh diff --git a/steps/jump/break.sh b/steps/jump/break.sh new file mode 100644 index 0000000..ca916d0 --- /dev/null +++ b/steps/jump/break.sh @@ -0,0 +1 @@ +exit 0 diff --git a/steps/manifest b/steps/manifest index 164ce2c..b5aed41 100644 --- a/steps/manifest +++ b/steps/manifest @@ -115,6 +115,7 @@ define: BUILD_LINUX = ( CHROOT == False || BUILD_KERNELS == True ) build: kexec-linux-1.0.0 ( BUILD_LINUX == True ) build: kexec-tools-2.0.22 ( BUILD_LINUX == True ) build: linux-4.9.10 ( BUILD_LINUX == True ) +jump: break ( INTERNAL_CI == pass1 ) jump: linux ( CHROOT == False ) improve: finalize_fhs build: musl-1.2.4 @@ -174,6 +175,7 @@ build: python-3.3.7 build: python-3.4.10 build: python-3.8.16 build: python-3.11.1 +jump: break ( INTERNAL_CI == pass1 ) # scripts are generated in pass1 build: gcc-10.4.0 build: binutils-2.41 build: gcc-13.1.0