Migrated from GitLab: krypton/osbootstrap
- Shell 100%
| .gitignore | ||
| as_root.sh | ||
| build.sh | ||
| clean.sh | ||
| LICENSE | ||
| pacman.conf | ||
| README.md | ||
| SYSTEMD.md | ||
Krypton Bootstrap
BELOW HERE might BE OUTDATEd.
HERE BE DRAGONS
Common Build dependencies
bcgitmuslelfutilsflexcmakeqemuwgetopensslgpartedorparted?
Build Dependencies (for void or arch)
base-devel
Build Dependencies (Pop!_OS)
build-essentialqemu-systembisonlibssl-devlibelf-devmusl-toolsgrub-pcsince Pop uses SystemD-boot (but Ubuntu shouldn't need this?)
Note: some distros will also require you to install foo-devel, foo-dev, or libfoo variants of certain packages.
General build:
./build.sh
Script notes:
- Script will download and compile bits as needed
- To force a re-compile of Linux, delete
work/linux-${kernel_version}/arch/x86_64/boot/bzImage - To force a re-compile of BuxyBox, delete
work/busybox-${busybox_version}/busybox - To force a re-compile of Bash, delete
work/bash-${bash_version}/out/bin/bash - To force a re-compile of MUSL toolchain, delete
work/musl-out - Alternatively, run
./clean.shto force rebuild and reclones of everything. - Use
./build.sh test -ngto run qemu in TTY, rather than X/Wayland
Why the name?
https://en.wikipedia.org/wiki/Ikeda_map
Sources:
-
Toolchain
-
Musl libc
-
ZSH Project
-
Our ZSH binary
Notes:
BusyBox
Derhaeg's original BusyBox config was taken from Arch Linux, if any issues arise we can attempt to use Arch Linux's latest BusyBox config in its place.