live-bootstrap/sysc/run2.sh

123 lines
1.8 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.78 '' '' nss-3.78
build curl-7.83.0
2022-04-24 04:58:50 +01:00
build zlib-1.2.12
build xbps-0.59.1
export XBPS_TARGET_ARCH="${ARCH}"
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
build musl-1.2.3
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
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 "/"
if [ -e after.sh ]; then
FILE=after.sh
fi
exec env -i PATH="${PATH}" PREFIX="${PREFIX}" SOURCES="${SOURCES}" DESTDIR="${DESTDIR}" DISTFILES="${DISTFILES}" bash ${FILE}