Skip to content

qqap/towel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

maybe use jj instead of git?

# 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