feat(steps-guix): upgrade bootstrap bash seed from 4.4.23 to 5.3

This commit is contained in:
vxtls 2026-03-03 19:46:15 -05:00
parent f21234e1cb
commit 1d73a27e94
4 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,27 @@
# SPDX-License-Identifier: GPL-3.0-or-later
SEED_PREFIX="/bootstrap-seeds/bash-5.3-1"
src_prepare() {
default
}
src_configure() {
./configure \
--prefix="${SEED_PREFIX}" \
--without-bash-malloc \
--disable-nls \
--enable-static-link \
--build="${TARGET}" \
bash_cv_dev_stdin=absent \
bash_cv_dev_fd=whacky
}
src_compile() {
make -j1
}
src_install() {
install -D -m 0755 bash "${DESTDIR}${SEED_PREFIX}/bin/bash"
ln -sf bash "${DESTDIR}${SEED_PREFIX}/bin/sh"
}