Skip to content

OlegGirko/ldbox

 
 

Repository files navigation

Introduction

ldbox is a lightweight virtualisation environment for crosscompilation.

It allows to transparently build and package software for Linux distributions and architectures different than the one on a host system. ldbox is lightweight and simple to use. It requires no additional permissions besides ones a regular user already has to setup build environment and run commands inside it.

ldbox doesn't use any system virtualisation and isolation capabilities (not even chroot). Instead, it preloads a shared library that modifies arguments to many functions in glibc, the standard C library. As a result, a program running under ldbox's control sees a virtual filesystem view according to configurable rules.

Also, these rules control how new programs are started. For example, a program for foreign architecture can be started inside an emulator (like qemu), and cross-compiler started instead of native compiler for foreign architecture.

ldbox is a fork of Scratchbox 2 (sb2), but has nothing to do with old Scratchbox that existed before sb2.

See ldbox.org main site for more information.

About

Lightweight cross-compilation and virtualisation environment using dynamic library preload approach

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 51.5%
  • Lua 17.3%
  • HTML 11.9%
  • Shell 8.0%
  • C++ 4.9%
  • Perl 4.1%
  • Other 2.3%