mikroskeem / musl_root Goto Github PK
View Code? Open in Web Editor NEWYet another Musl-based lightweight container or distribution bootstrapper
License: MIT License
Yet another Musl-based lightweight container or distribution bootstrapper
License: MIT License
Installing GNU Coreutils fixes it.
Log everything to files out of box. It aids with debugging.
Also make colours appear on log files (See #3)
Fakeroot doesn't seem to handle stat*() syscall at all (package from Alpine Linux works) Obviously if I test with busybox tar (busybox is statically linked) ๐
Current solution is to make sure that bubblewrap (bwrap
) is present on host system
Because... who doesn't like colors?
Of course make this option configurable using script arguments or config.sh
A distribution, which is capable to build itself. Sounds neat.
Idea came from https://github.com/pikhq/bootstrap-linux/
Honestly I am not sure if I should ever add stage 2 and what should it do exactly?
Related to: #1 - toolchain not using system include/libraries directories.
makepkg
requires non-root user to build packages, but to create accounts,
one needs to have /etc/passwd, group and shadow.
By default, those aren't provided
Replaces usage of toolchain from musl.cc introduced in commit a11627d, because given toolchain looks for libraries/headers in /$(uname -m)-linux-musl-native
prefix.
Possible solution would be to configure toolchain to use system libraries/includes path, but as musl_root is compiling everything from source already, then it's better to build own toolchain.
configure:2749: checking for C++ compiler default output file name
configure:2771: g++ conftest.cpp >&5
/tools/lib/gcc/x86_64-unknown-linux-musl/8.2.0/../../../../x86_64-unknown-linux-musl/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
configure:2775: $? = 1
configure:2813: result:
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "LZMA"
| #define PACKAGE_TARNAME "lzma"
| #define PACKAGE_VERSION "4.32.7"
| #define PACKAGE_STRING "LZMA 4.32.7"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define NDEBUG 1
| #define PACKAGE "lzma"
| #define VERSION "4.32.7"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2819: error: C++ compiler cannot create executables
See `config.log' for more details.
Solution: install libstdc++
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.