This will be a hardened Linux kernel for blockD, our own bloat-free and privacy-first operating system in this repo, with x86_64 support and with future aarch64 suppport.
blockD will use flatpak for graphical apps, a package manager to download CLI packages (Most likely going to be NetBSD's Pkgsrc), and is planned to have halium support for mobile devices. This will be straight from scratch and will most likely be a barebones GNU/Linux distro with zsh as a replacement for bash. It will be rootless, and all additional packages will not be tied to the base system in any way, making a smaller attack space. doas will replace sudo for security reasons, so yes, this will use runit.
- A GNU/Linux system, Debian-based is preferred.
- These installed dependencies:
build-essential flex bison libssl-dev libelf-dev dwarves pahole rsync bc kmod cpio libncurses-dev wget debootstrap
-
Run build-kernel.sh.
./build-kernel.sh -
Download the rootfs here. There is also a prebuilt image there as well.
-
Extract it.
-
Then, run build-image-final.sh.
./build-image-final.sh
This project is still under heavy development, so these plans might be changed. For now, it is a project for tinkering and is insignificant.
- Get a kernel script.
- Get a package manager, pkgsrc.
- Get an installer.
- Modify
configure.pyfor blockD - Figure out how to make it rootless.
- Port it to arm chips.
- Use SELinux.
- Use and port halium to have some mobile compatibility.
- Optional, host mirrors of the ISOs.
- Optional, build our package manager.
- Optional, write our own window manager.
- Optional, write our own root.
- Make a precompiled Release
configure.py copied and modified from here.
Thanks to @Provectus18 for helping a ton on this project. Credit to @raymondwong19 for making the transfer file to turn Ubuntu Noble into Trisquel Ecne for our AArch64 Workflow in /.github/workflows/build-aarch66.yml.
![]()
