For VM/embedded images socat is pretty alternative to curl as it has 50% less dependencies and you can still web e.g.,
printf 'GET / HTTP/1.1\r\nHost: www.iki.fi\r\nConnection: close\r\n\r\n' | socat OPENSSL:www.iki.fi:443 -
I’ve replaced curl with socat in my BuildRoot images for kernel testing because it is less bloated than curl ;-)
@jarkko because it's 315K. Why would it make any difference? Or are you downloading everything with curl one you have a minimal vm setup?
@jarkko ah, makes more sense. Why isn't kexec a good answer? I've never messed with it, so it's pure curiosity.
@jarkko I always thought it was an in place upgrade by moving things in the lookup tables, kind of like erlang. Does it just put in a shim layer with the blob just passing things along?