live-bootstrap/sysc/run2.sh

144 lines
2.1 KiB
Bash
Raw Normal View History

#!/bin/bash
# SPDX-FileCopyrightText: 2022 Andrius Štikonas <andrius@stikonas.eu>
# SPDX-FileCopyrightText: 2021 fosslinux <fosslinux@aussies.space>
# SPDX-FileCopyrightText: 2021 Paul Dersey <pdersey@gmail.com>
2021-05-18 12:37:21 +01:00
# SPDX-FileCopyrightText: 2021 Melg Eight <public.melg8@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
set -e
2021-03-20 21:23:07 +00:00
# shellcheck disable=SC2153
trap 'env - PATH=${PREFIX}/bin PS1="\w # " bash -i' EXIT
# shellcheck source=sysa/helpers.sh
. helpers.sh
2021-07-17 19:39:07 +01:00
trap bash EXIT
umask 0022
2021-03-25 21:47:57 +00:00
build xz-5.0.5
2021-03-28 23:18:33 +01:00
build automake-1.11.2
build libtool-2.4.7
2021-03-28 23:36:27 +01:00
build autoconf-2.69
2021-04-01 00:28:30 +01:00
build automake-1.15.1
2021-04-02 17:59:49 +01:00
build tar-1.34
build coreutils-8.32
2021-06-29 22:20:15 +01:00
build pkg-config-0.29.2
2021-04-28 07:15:58 +01:00
build make-4.2.1
2021-04-03 18:40:48 +01:00
build gmp-6.2.1
2021-04-17 20:16:25 +01:00
build autoconf-archive-2021.02.19
2021-04-17 23:54:19 +01:00
build mpfr-4.1.0
2021-04-18 00:42:47 +01:00
build mpc-1.2.1
2021-05-24 00:45:07 +01:00
build flex-2.5.33
build bison-2.3
2021-04-28 07:20:41 +01:00
build bison-3.4.2
build perl-5.10.1
build dist-3.5-236
2021-04-28 07:23:34 +01:00
build perl-5.32.1
2021-12-15 10:09:15 +00:00
build libarchive-3.5.2
2021-12-15 10:09:28 +00:00
build openssl-1.1.1l
build ca-certificates-3.86
build curl-7.83.0
build zlib-1.2.13
2021-05-26 00:48:05 +01:00
build automake-1.16.3
2021-10-09 22:21:23 +01:00
build autoconf-2.71
2021-05-27 21:54:41 +01:00
build patch-2.7.6
2021-05-27 21:58:10 +01:00
build gettext-0.21
2021-05-29 01:05:21 +01:00
build texinfo-6.7
2021-07-07 20:10:38 +01:00
build gcc-4.7.4
2021-07-01 19:59:10 +01:00
2022-09-04 09:12:21 +01:00
build binutils-2.38
2021-07-08 01:42:56 +01:00
build gperf-3.1
2021-06-27 16:10:10 +01:00
build libunistring-0.9.10
2021-07-01 21:59:05 +01:00
build libffi-3.3
2021-07-01 23:14:17 +01:00
build libatomic_ops-7.6.10
2021-07-02 01:09:54 +01:00
build gc-8.0.4
build guile-3.0.7
2021-07-03 17:38:05 +01:00
2022-09-16 22:40:00 +01:00
build which-2.21
2022-09-19 21:45:14 +01:00
build grep-3.7
2022-09-23 22:03:32 +01:00
build sed-4.8
2022-10-05 10:29:42 +01:00
build autogen-5.18.16 autogen-5.18.16.sh
2022-09-23 22:03:59 +01:00
build musl-1.2.3
build python-2.0.1 stage1.sh
2022-09-17 00:10:44 +01:00
build python-2.0.1 stage2.sh
2022-09-17 00:10:44 +01:00
build python-2.3.7 stage1.sh
2022-10-05 10:31:18 +01:00
build python-2.3.7 stage2.sh
2022-10-05 10:31:18 +01:00
build python-2.5.6
2022-10-10 12:20:19 +01:00
build python-3.1.5 stage1.sh
2022-10-23 00:18:32 +01:00
build python-3.1.5 stage2.sh
2022-10-23 00:18:32 +01:00
build python-3.3.7
2022-12-21 03:15:59 +00:00
build python-3.4.10
2022-12-21 03:16:44 +00:00
build python-3.8.16
2022-12-21 03:17:11 +00:00
build python-3.11.1
2022-12-25 05:50:49 +00:00
if [ "$FORCE_TIMESTAMPS" = True ] ; then
echo 'Forcing all files timestamps to be 0 unix time.'
canonicalise_all_files_timestamp
fi
2022-05-18 23:58:01 +01:00
shopt -s extglob
2022-04-07 00:09:45 +01:00
if [ "$UPDATE_CHECKSUMS" = True ] ; then
pushd /usr/src/repo
2022-05-18 23:58:01 +01:00
sha256sum -- !(*-repodata) | tee "${SOURCES}/SHA256SUMS.pkgs"
2022-04-07 00:09:45 +01:00
popd
fi
echo "Bootstrapping completed."
cd "/"
exec env -i PATH="${PATH}" PREFIX="${PREFIX}" SOURCES="${SOURCES}" DESTDIR="${DESTDIR}" DISTFILES="${DISTFILES}" HOME="${HOME}" SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH}" bash "${SOURCES}/after.sh"