src / ferdios / ferdios-tools

Open in Gitea
275afa2 2 days ago
cmake
docs
src
test
thirdparty
tools
.clang-format 1.4 KB
.gitignore 107 B
CMakeLists.txt 14.9 KB
Dockerfile.static.x86_64 3.5 KB
LICENSE 646 B
main.cpp 4.9 KB
README.md 1.2 KB

ferdios-tools

Package manager, package builder, OS image builder, and bootstrap in a single, multi-call binary.

Documentation

Package manager, Building packages, Building OS images, Bootstrap.

Install

Most dependencies are vendored, and as a result this tool is easy to compile requiring only trivial system dependencies.

  • libsqlite3
  • libcurl
  • zlib, zstd, lzma
  • mbedtls
  • libsodium
  • minisign-tools
apt install -y libsqlite3-dev libcurl4-openssl-dev zlib1g-dev libzstd-dev liblzma-dev libmbedtls-dev libsodium-dev pkg-config cmake g++

minisign-tools is the only exotic dependency here, thankfully it is easy to install - follow its instructions.

When you are ready with the dependencies:

cmake -Bbuild .
make -Cbuild -j12

./build/bin/ferdios-tools --help

Tests

Configure with -DFERDIOS_BUILD_TESTS=ON:

cmake -DFERDIOS_BUILD_TESTS=ON -Bbuild .
make -Cbuild -j12
CMD=apptest ./build/bin/ferdios-tools --all

License

0BSD