Skip to content

qqap/towel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Sep 29, 2024
5b45cff · Sep 29, 2024

History

34 Commits
Sep 10, 2024
Sep 10, 2024
Sep 9, 2024
Sep 9, 2024
Sep 9, 2024
Sep 9, 2024
Sep 10, 2024
Sep 29, 2024
Sep 10, 2024

Repository files navigation

ok, this kinda works.
git is just too painful to set up
i just assumed most static binaries exist for most things

# probably can just use the dir directly and the kernel build will convert to cpio
./usr/gen_initramfs.sh spec -o init.cpio
make -j 18 && cp arch/x86/boot/bzImage ~/

qemu-system-x86_64 -kernel bzImage -nographic -append "console=ttyS0" -m 256M -netdev user,id=n0,hostfwd=tcp::10022-:22 -device e1000,netdev=n0
ssh -vvv root@localhost -p 10022           

qemu-system-x86_64 disk.img -m 256M -netdev user,id=n0,hostfwd=tcp::10022-:22 -device e1000,netdev=n0

use the git https://git.sr.ht/~fincham/static-binary-zoo
static binary

considerations for improvements:
- kpatch, built-in, but mostly for security patches
- kexec, also built-in used for kdump? reboot w/o hardware overhead
- make sure using tmps, maybe get zfs instead
- git + libcurl, possibly using the nix package manager
- ohmyzsh + p10k + zshautosuggestions + unixorn/fzf-zsh-plugin
- replace busybox with ls.c, and other coreutils + iproute2
- caddy server, ollama, tailscale and other deployments