mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-11 05:45:23 +01:00
bash-3.2.57: Build new package to replace bash 2.05b
Resulting build now works interactively
This commit is contained in:
parent
ad54802f21
commit
c0fedeba61
7 changed files with 43 additions and 2 deletions
24
sysa/bash-3.2.57/bash-3.2.57.sh
Executable file
24
sysa/bash-3.2.57/bash-3.2.57.sh
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
# Remove bison generated files
|
||||
rm y.tab.c y.tab.h
|
||||
|
||||
# Rebuild configure script
|
||||
# Ignore harmless error from autoconf for now
|
||||
rm configure
|
||||
autoconf-2.52 || true
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CC=tcc CPPFLAGS="-D HAVE_ALLOCA_H" \
|
||||
./configure --prefix=/after \
|
||||
--without-bash-malloc \
|
||||
--build=i386-unknown-linux
|
||||
}
|
||||
|
||||
src_install() {
|
||||
install bash ${bindir}
|
||||
}
|
||||
1
sysa/bash-3.2.57/checksums
Normal file
1
sysa/bash-3.2.57/checksums
Normal file
|
|
@ -0,0 +1 @@
|
|||
0d6cbaa5f93fa4c2186ef40dd834b47841b3bf70f6183cfdb6ada38fdb835c5a /after/bin/bash
|
||||
|
|
@ -91,4 +91,6 @@ populate_device_nodes
|
|||
# Rebuild tcc-musl using new musl
|
||||
build tcc-0.9.27 tcc-musl-pass3.sh checksums/tcc-musl-pass3
|
||||
|
||||
build bash-3.2.57
|
||||
|
||||
echo "Bootstrapping completed."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue