From b02c35443f7339303a14fe411993c8277719ad96 Mon Sep 17 00:00:00 2001 From: Googulator Date: Wed, 22 May 2024 00:21:40 +0200 Subject: [PATCH] Stop src_get overrides from propagating between builds Because src_get was never unset at the end of a build, it would propagate to subsequent builds until it would be either overridden again, or cleared by a new bash process starting (either due to a jump step or a new version of bash being built). Thus, kexec-linux's override of src_get to a no-op would stay in effect in chroot mode until musl-1.2.4 phase2's override restored src_get's functionality. This override is actually obsolete, since musl-1.2.4's source code is now preserved across the Linux kexec via a different mechanism - but removing it mysteriously broke downloading bash-5.2.15 due to kexec-linux's override still being in effect. --- steps/helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/helpers.sh b/steps/helpers.sh index 42fbdb48..62fc2576 100755 --- a/steps/helpers.sh +++ b/steps/helpers.sh @@ -253,7 +253,7 @@ build() { cd "${SRCDIR}" - unset -f src_unpack src_prepare src_configure src_compile src_install src_postprocess + unset -f src_get src_unpack src_prepare src_configure src_compile src_install src_postprocess unset extract }