mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-24 20:16:32 +01:00
feat(steps-guix): upgrade bootstrap bash seed from 4.4.23 to 5.3
This commit is contained in:
parent
f21234e1cb
commit
1d73a27e94
4 changed files with 30 additions and 2 deletions
27
steps-guix/bash-5.3-1/pass1.sh
Normal file
27
steps-guix/bash-5.3-1/pass1.sh
Normal 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"
|
||||||
|
}
|
||||||
1
steps-guix/bash-5.3-1/sources
Normal file
1
steps-guix/bash-5.3-1/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
f https://ftp.gnu.org/gnu/bash/bash-5.3.tar.gz 0d5cd86965f869a26cf64f4b71be7b96f90a3ba8b3d74e27e8e9d9d5550f31ba
|
||||||
|
|
@ -52,7 +52,7 @@ build: xz-5.2.4
|
||||||
build: gzip-1.9
|
build: gzip-1.9
|
||||||
build: bzip2-1.0.6
|
build: bzip2-1.0.6
|
||||||
build: patch-2.7.6
|
build: patch-2.7.6
|
||||||
build: bash-4.4.23-1
|
build: bash-5.3-1
|
||||||
build: static-binaries-0-i686-linux
|
build: static-binaries-0-i686-linux
|
||||||
# Build guile-static-stripped-2.2.4-i686-linux.tar.xz
|
# Build guile-static-stripped-2.2.4-i686-linux.tar.xz
|
||||||
build: guile-2.2.4
|
build: guile-2.2.4
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ src_compile() {
|
||||||
cp -a /bootstrap-seeds/gzip-1.9/bin/gzip "${stage}/bin/"
|
cp -a /bootstrap-seeds/gzip-1.9/bin/gzip "${stage}/bin/"
|
||||||
cp -a /bootstrap-seeds/bzip2-1.0.6/bin/bzip2 "${stage}/bin/"
|
cp -a /bootstrap-seeds/bzip2-1.0.6/bin/bzip2 "${stage}/bin/"
|
||||||
cp -a /bootstrap-seeds/patch-2.7.6/bin/patch "${stage}/bin/"
|
cp -a /bootstrap-seeds/patch-2.7.6/bin/patch "${stage}/bin/"
|
||||||
cp -a /bootstrap-seeds/bash-4.4.23-1/bin/bash "${stage}/bin/"
|
cp -a /bootstrap-seeds/bash-5.3-1/bin/bash "${stage}/bin/"
|
||||||
|
|
||||||
ln -sf bash "${stage}/bin/sh"
|
ln -sf bash "${stage}/bin/sh"
|
||||||
ln -sf gawk "${stage}/bin/awk"
|
ln -sf gawk "${stage}/bin/awk"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue