Elektrobit / flake-pilot

Registration/Control utility for applications launched through a runtime-engine, e.g containers
MIT License
9 stars 5 forks source link

Refactor packaging #73

Closed schaefi closed 1 year ago

schaefi commented 1 year ago

Provide sub-packages flake-pilot-podman and flake-pilot-firecracker This Fixes #72

schaefi commented 1 year ago

@m-kat this will build flake-pilot also with flake-pilot-firecracker and contains at the moment only the /usr/bin/firecracker-service which you wrote

schaefi commented 1 year ago

@m-kat please also note that the version management is done via bumpversion for the entire flake-pilot. I think we should stick with the concept of a single version for all components

schaefi commented 1 year ago

@m-kat I also applied some compile optimizations to decrease the binary size. For your stuff it's now at ~300kb

-rwxr-xr-x    1 root    root                   320644 Apr 20 16:12 /usr/bin/firecracker-service

on x86_64 (similar on arm) that is ok I think. But that's the reason why you see me adding the Cargo.toml modifications