threefoldtech / 0-initramfs

Zero-OS Initramfs Builder
Apache License 2.0
3 stars 1 forks source link

Add musl subsystem and compile corex using musl #40

Closed maxux closed 4 years ago

maxux commented 4 years ago

Introduce new additional musl base system which can be used to produce static binary based on musl.

This was needed by corex to get a working fully static binary. New packages are present to compile libraries and dependencies needed by musl compilation.

In addition, this pull request also change the legacy internals directory to a better called packages. Some new packages feature are also included, which can be found on zlib package. All package havn't been updated, they will be updated one-by-one when needed, since this doesn't change anything except better code support.

maxux commented 4 years ago

Build tested, everything seems okay :)