/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'
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>
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>
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>
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.
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.
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.
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.]
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")
- 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