Skip to content

Commit b02c354

Browse files
authored
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.
1 parent b988fb5 commit b02c354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

steps/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ build() {
253253

254254
cd "${SRCDIR}"
255255

256-
unset -f src_unpack src_prepare src_configure src_compile src_install src_postprocess
256+
unset -f src_get src_unpack src_prepare src_configure src_compile src_install src_postprocess
257257
unset extract
258258
}
259259

0 commit comments

Comments
 (0)