Open PedroRegisPOAR opened 3 years ago
TODO: test it https://github.com/cleverca22/not-os
Improve it! Use sha512sum too?
# env | sort | sha256sum
env | grep -v HOSTNAME | sort | sha256sum
podman \
run \
--interactive=true \
--tty=false \
--rm=true \
--user=0 \
docker.io/library/busybox \
<<'COMMANDS'
env | grep -v HOSTNAME | sort | sha256sum
COMMANDS
env > env.txt
SHA="$(sha256sum env.txt | cut -d ' ' -f 1)"
echo "$SHA env.txt" | sha256sum --check
echo "$SHA env.txt" | sha256sum --check --status
TODO: make examples, refactor...
nix \
build \
github:ratsclub/dotfiles/54fc62c5cdc15176f7511381b20cfb0c524bfeec#homeConfigurations.textual.activationPackage
Abstract
An really great quote:
Toybox vs BusyBox - Rob Landley, hobbyist, start=721&end=777
It removes every binary and only compiles the toybox
sh
:Refs.:
Using old Ubuntu OCI images
podman run docker.io/tianon/toybox toybox
TODOs:
TODO: https://discourse.nixos.org/t/build-a-yocto-rootfs-inside-nix/2643/26 TODO: https://github.com/hjones2199/ush
The busybox-sandbox-shell
TODO: add metadata infos
The toybox
Toybox vs BusyBox - Rob Landley, hobbyist
Refs:
Refs.:
Refs.:
TODO: https://unix.stackexchange.com/a/665012
TODO: document other examples that for now are spread
appimage-run and stean-run