commit: b02c35443f7339303a14fe411993c8277719ad96
parent b988fb5764d4f9c1ca257e35768de9f6f156cb34
Author: Googulator <netrolller.3d@gmail.com>
Date: Wed, 22 May 2024 00:21:40 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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
}