mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
Implement kernel bootstrap up to building Linux.
This commit is contained in:
parent
ae7e1f9498
commit
6881d5dcf8
56 changed files with 4869 additions and 209 deletions
34
sysc/curl-7.83.0/curl-7.83.0-pass1.sh
Executable file
34
sysc/curl-7.83.0/curl-7.83.0-pass1.sh
Executable file
|
|
@ -0,0 +1,34 @@
|
|||
# SPDX-FileCopyrightText: 2022 fosslinux <fosslinux@aussies.space>
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Regnerate src/tool_cb_prg.c
|
||||
sed -i "53,74d" src/tool_cb_prg.c
|
||||
sed -i "53 s/^/$(perl sinus.pl | sed "s/, $//")\n/" src/tool_cb_prg.c
|
||||
|
||||
rm src/tool_help.c src/tool_help.h src/tool_listhelp.c src/tool_hugehelp.c
|
||||
|
||||
# Rebuild libtool files
|
||||
rm config.guess config.sub ltmain.sh
|
||||
libtoolize
|
||||
|
||||
AUTOMAKE=automake-1.10 ACLOCAL=aclocal-1.10 AUTOM4TE=autom4te-2.64 AUTOCONF=autoconf-2.64 autoreconf-2.64 -fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
LDFLAGS="-static" ./configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--libdir="${LIBDIR}" \
|
||||
--build=i386-unknown-linux-gnu \
|
||||
--enable-ipv6 \
|
||||
--without-ssl \
|
||||
--disable-hsts
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
install -m 755 scripts/mk-ca-bundle.pl "${DESTDIR}/usr/bin/mk-ca-bundle"
|
||||
}
|
||||
|
|
@ -1 +1 @@
|
|||
http://master.dl.sourceforge.net/project/curl.mirror/curl-7_83_0/curl-7.83.0.tar.xz bbff0e6b5047e773f3c3b084d80546cc1be4e354c09e419c2d0ef6116253511a
|
||||
https://curl.se/download/curl-7.83.0.tar.bz2 247c7ec7521c4258e65634e529270d214fe32969971cccb72845e7aa46831f96
|
||||
|
|
|
|||
|
|
@ -37,12 +37,12 @@ install_tar sed-4.0.9 0
|
|||
|
||||
install_tar autoconf-2.64 0
|
||||
install_tar autoconf-2.69 0
|
||||
install_tar automake-1.10.3 0
|
||||
install_tar automake-1.11.2 0
|
||||
install_tar binutils-2.24 0
|
||||
install_tar bzip2-1.0.8 0
|
||||
install_tar bison-3.4.1 2
|
||||
install_tar coreutils-6.10 0
|
||||
install_tar curl-7.83.0 0
|
||||
install_tar dhcpcd-9.4.1 0
|
||||
install_tar diffutils-2.7 0
|
||||
install_tar findutils-4.2.33 0
|
||||
|
|
@ -55,7 +55,7 @@ install_tar libtool-2.2.4 0
|
|||
install_tar linux-headers-5.10.41 0
|
||||
install_tar m4-1.4.7 0
|
||||
install_tar make-3.82 0
|
||||
install_tar musl-1.2.3 0
|
||||
install_tar musl-1.2.3 1
|
||||
install_tar perl-5.6.2 0
|
||||
install_tar util-linux-2.19.1 0
|
||||
|
||||
|
|
|
|||
17
sysc/run.sh
17
sysc/run.sh
|
|
@ -34,6 +34,17 @@ populate_device_nodes
|
|||
|
||||
create_fhs
|
||||
|
||||
if [ -e "${SOURCES}/distfiles" ]; then
|
||||
mv "${SOURCES}/distfiles" /
|
||||
echo "sysc: distfiles exists"
|
||||
ls -l /distfiles
|
||||
else
|
||||
echo "sysc: distfiles does not exist"
|
||||
mkdir -p "${DISTFILES}"
|
||||
fi
|
||||
|
||||
build curl-7.83.0 curl-7.83.0-pass1.sh
|
||||
|
||||
# Obtain network connection
|
||||
if [ "${CHROOT}" = "False" ]; then
|
||||
dhcpcd --waitip=4
|
||||
|
|
@ -50,12 +61,6 @@ if [ "${CHROOT}" = "False" ]; then
|
|||
done
|
||||
fi
|
||||
|
||||
if [ -e "${SOURCES}/distfiles" ]; then
|
||||
mv "${SOURCES}/distfiles" /
|
||||
else
|
||||
mkdir -p "${DISTFILES}"
|
||||
fi
|
||||
|
||||
build bash-5.1
|
||||
|
||||
exec env -i PATH="${PATH}" HOME="${HOME}" SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" bash run2.sh
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ build openssl-1.1.1l
|
|||
|
||||
build ca-certificates-3.86
|
||||
|
||||
build curl-7.83.0
|
||||
build curl-7.83.0 curl-7.83.0-pass2.sh
|
||||
|
||||
build zlib-1.2.13
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue