Skip to content

nulix/upd8

Repository files navigation

OSTree OTA update controller

This project is a simple OTA update manager for OSTree. It is designed to be used with the NULIX OS.

Create development container

docker run --rm -it \
  -v ./:/upd8 \
  -w /upd8 \
  rust:alpine \
  sh -c "apk add --no-cache musl-dev pkgconfig ostree-dev && \
    cargo install cargo-edit &&
    export RUSTFLAGS='-Ctarget-feature=-crt-static' && \
    sh"

Build

cargo build --release

Update rust dependencies

cargo update

Upgrade rust dependencies

cargo upgrade

Clean the build

cargo clean

Run the app on a target device

scp target/release/upd8 root@192.168.1.100:~
scp config.yml root@192.168.1.100:/etc/upd8
./upd8

Enable debug logs on a target device

RUST_LOG=debug ./upd8

About

OSTree OTA update manager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors