1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-15 04:05:15 +03:00
Commit graph

44 commits

Author SHA1 Message Date
Ariadne Conill
a53fffd308 bootstrap: remove openssl1.1-compat 2022-01-15 18:50:06 +00:00
Ariadne Conill
ffb952273e bootstrap: also build openssl 1.1 2021-09-29 20:02:36 +00:00
Noel Kuntze
10bec7b748 scripts/bootstrap.sh: Fix error when pubkey exists in ~/.abuild and
/etc/apk/keys

cp: will not overwrite just-created '/home/buildozer/sysroot-aarch64/
/etc/apk/keys/buildozer-6086211a.rsa.pub' with '/home/buildozer/.
abuild/buildozer-6086211a.rsa.pub'
2021-09-18 09:49:11 +00:00
Ariadne Conill
f8805186a7 bootstrap: document that this script is explicitly for bootstrap only 2021-08-13 05:46:57 -06:00
Carlo Landmeter
82e1dd0041 scripts/bootstrap.sh: switch to libretls 2021-06-27 21:47:30 +00:00
Roman Shaposhnik
0a568a04a6 Accounting for gcc requiring explicit -latomic in bootstrap.sh
On some architectures rograms which use C11 or C++11 atomics,
like #include <atomic>, generally must link against -latomic
explicitly.

For now the check is only against riscv64, but the list may grow.

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-02 15:35:23 +00:00
Roman Shaposhnik
3ca28d7195 Re-arranging the order in which cross packages are built in bootstrap.sh
The list of packages doesn't change, but we need them build in a
different order because of changing dependencies.

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-02 15:35:23 +00:00
Roman Shaposhnik
67cbf23dbf Adding freshly minted abuild keys to the CBUILDROOT
When bootstrapping we need to have access to the freshly
minted abuild keys in the CBUILDROOT. While this can
potentially be done as a separate step it doesn't really
hurt to include it in the bootstrap.sh script.

Signed-off-by: Roman Shaposhnik <rvs@zededa.com>
2021-06-02 15:35:23 +00:00
Ariadne Conill
d3e152fdd6 bootstrap: use libretls dependency instead of libtls-standalone 2021-05-06 21:52:04 +00:00
Leo
ba0f621023 scripts/bootstrap.sh: add missing libmd
fixes #12615
2021-04-17 12:30:32 -03:00
Sören Tempel
7ab346a1ec scripts: don't include pax-utils and paxmark in images
Also don't bootstrap it in bootstrap.sh. Since we no longer use
the grsecurity patchset (which also provides PaX) and paxmark
was recently removed from all remaining packages, there should be
no need to bootstrap it early or include it in the images.
2021-03-28 15:32:09 +00:00
Ariadne Conill
21313b8782 bootstrap: add busybox as an extradepend to deal with /bin/sh virtual 2021-02-15 20:05:33 +00:00
Ariadne Conill
a11a55e5c2 bootstrap: add zstd to bootstrap dependencies 2021-02-10 05:00:44 +00:00
Natanael Copa
83f9f23d95 scripts/bootstrap.sh: update deps
make it possible to disable KERNEL_PKG via empty env var

replace isl with isl22

drop sudo, which is no longer needed

fixes #12255
2021-01-05 21:21:08 +01:00
Ariadne Conill
5ce2c42371 bootstrap: add rust dependencies and rust to bootstrap packages 2020-10-31 18:06:52 +00:00
Ariadne Conill
473f016013 bootstrap: add libgit2 and dependencies 2020-10-31 16:43:43 +00:00
Ariadne Conill
632e6bf0c3 bootstrap: add curl (and reverse dependencies) 2020-10-31 16:05:54 +00:00
Ariadne Conill
f0d338274b bootstrap: add community/rust to package list 2020-10-31 15:25:53 +00:00
Ariadne Conill
761be1f532 bootstrap: add libucontext to bootstrap deps 2020-10-31 14:22:15 +00:00
Ariadne Conill
dc4957d79b scripts: bootstrap: build patch before build-base
Since 3.12, we have included patch in build-base due to busybox patch
being removed.
2020-06-24 09:03:06 -06:00
Timo Teräs
78f149fce8 scripts/bootstrap.sh: clean up cross-build extra dependency handling
Instead of apk adding dependencies to sysroot, use the EXTRADEPENDS_TARGET
to pass in these dependencies. This does not leave the sysroot in
dirty state, but instead cleans it up.
2020-02-08 14:00:02 +02:00
Timo Teräs
88b19d170e scripts/bootstrap.sh: workaround abuild bug
Current abuild has a bug that when CC is defined, it's used to
guess build architecture. But during cross-compile setup it points
to cross compiler and causing breakage. Export CBUILD after initial
abuild functions.sh run to workaround this.
2020-02-08 14:00:02 +02:00
Natanael Copa
46f4244a08 scripts: replace -vanilla kernel with -lts
also add doas to extended image
2019-12-06 17:48:38 +00:00
Ariadne Conill
c9a0209cbd bootstrap: use mpfr4 not mpfr3 2019-12-06 06:15:56 +00:00
Timo Teräs
e6b7d47e7a scripts/bootstrap.sh: fix openssh bootstrap
Since commit 5bd58072 it requires libedit, so include that in
bootstrap reorder ncurses before it.
2019-10-01 10:22:33 +03:00
alpine-mips-patches
fad9a11100 scripts/bootstrap.sh: build ca-certificates too 2019-02-05 10:41:56 +00:00
alpine-mips-patches
27f819eb76 scripts/bootstrap.sh: catch up with the openssl switch
Replace libressl with openssl, add libbsd and libtls-standalone (for busybox)
but still build libressl for apk-tools.

[TT: Remove libressl, it is not needed anymore.]
2018-11-09 09:24:16 +00:00
Timo Teräs
9b82f3b654 main/libaio, scripts/bootstrap.sh: cross build libaio as lvm dependency 2018-08-02 08:37:03 +00:00
Timo Teräs
a0e3ae1279 main/busybox, scripts/bootstrap: fix bootstrap
busybox now requires ssl on the target host. Fix busybox dependency
and adjust bootstrap build order accordingly.
2018-08-02 08:18:55 +00:00
Jonathan Neuschäfer
6460eef0b8 scripts/bootstrap.sh: Build lzip (required by abuild)
In order to install abuild, lzip needs to be available. Add it to the list of
packages built in bootstrap.sh.

Fixes: 9674a6492d ("main/abuild: add support for lzip source packages")
2018-03-31 15:47:55 +02:00
Jonathan Neuschäfer
c32abc47dc scripts/bootstrap.sh: Fix a typo ("compiler tripler") 2018-03-09 18:43:30 +01:00
Timo Teräs
f4f7e6c25c scripts/bootstrap: update bootstrap deps
apk-tools no longer depends on libfetch
build-base now depends on file
2018-02-06 18:44:13 +00:00
Daniel Sabogal
f1a0dd6c94 scripts/bootstrap.sh: cryptsetup depends on json-c and argon2 2018-02-05 19:36:21 +00:00
Jack Schmidt
24a5da12f9 scripts/bootstrap.sh: ghc moved from testing to community
Commit 3b5707d385 moved ghc from
testing to community, but bootstrap.sh was not updated.
2017-11-05 11:59:27 +01:00
Kaarle Ritvanen
73c524edfc scripts/bootstrap.sh: add util-linux dependency 2017-08-24 21:30:44 +03:00
Oliver Smith
98519b4487 scripts/bootstrap.sh: fix "local" outside of function 2017-03-12 18:34:29 +01:00
Timo Teräs
2e7a904612 testing/ghc: support cross-building 2017-02-27 09:19:05 +00:00
Timo Teräs
f9110e603a scripts/bootstrap.sh, main/{binutils,gcc,musl}: no more options="toolchain"
abuild has been updated to figure this one out from $BOOTSTRAP.
2017-02-27 06:23:05 +00:00
Timo Teräs
f5c4b29891 community/go: cross-build support 2017-02-27 06:23:05 +00:00
Timo Teräs
a95a079d7a scripts/bootstrap.sh, binutils, gcc, musl: improve bootstrap
- requires new abuild (from git until 2.30 is tagged)
- properly build initial musl-dev before c-compiler is available
- mark core aports with options=toolchain, and fix all makedepends
- bootstrap.sh: reorganize and use set -e there
- bootstrap.sh: use new EXTRADEPENDS_* to pull in implicit dependencies
  during bootstrap to simplify the script
2017-02-17 08:22:03 +00:00
Natanael Copa
20b12127b3 scripts: use libressl instead of openssl 2016-11-28 17:51:39 -02:00
Timo Teräs
7030277c31 scripts/bootstrap: install libstdc++ to target as implicit dependency 2016-11-21 09:28:11 +00:00
Timo Teräs
4b8e1ca45f scripts/bootstrap.sh: fix bootstrapping with libressl 2016-11-17 07:19:46 +00:00
Timo Teräs
ce9db80e96 scripts/bootstrap.sh: tool for bootstrapping alpine
utility to do initial cross-compiler, and cross build of base
packages for new architectures.
2016-07-27 12:18:42 +00:00