Migrated from GitLab: krypton/osbootstrap
Find a file
2025-10-27 22:37:46 -04:00
.gitignore extract from gitea 2021-08-11 00:48:27 -04:00
as_root.sh tgt change 2025-10-27 22:37:46 -04:00
build.sh PROGRESS (but not quite a working system) 2025-10-26 13:12:18 -04:00
clean.sh fakeout systemd kinda works™️ 2025-10-25 01:56:19 -04:00
LICENSE extract from gitea 2021-08-11 00:48:27 -04:00
pacman.conf holy shit, got to an emerg shell at least 2025-10-25 01:28:45 -04:00
README.md slop we dont need 2025-10-25 01:32:20 -04:00
SYSTEMD.md note 2025-10-26 13:12:44 -04:00

Krypton Bootstrap

BELOW HERE might BE OUTDATEd.

HERE BE DRAGONS

Common Build dependencies

  • bc
  • git
  • musl
  • elfutils
  • flex
  • cmake
  • qemu
  • wget
  • openssl
  • gparted or parted ?

Build Dependencies (for void or arch)

  • base-devel

Build Dependencies (Pop!_OS)

  • build-essential
  • qemu-system
  • bison
  • libssl-dev
  • libelf-dev
  • musl-tools
  • grub-pc since 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.sh to force rebuild and reclones of everything.
  • Use ./build.sh test -ng to run qemu in TTY, rather than X/Wayland

Why the name?

https://en.wikipedia.org/wiki/Ikeda_map

Sources:

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.