Upgrading from v0.7
Rugpi has been renamed to Rugix and gained a lot of new functionality. As part of the transition, we also cleanly separated Rugix Ctrl from Rugix Bakery, so that they can be used independently. Here is what you need to do to upgrade to Rugix v0.8.
Generally, you need to replace “Rugpi” with “Rugix” everywhere (including in any environment variables and paths).
Rugix Ctrl
- The overlay configuration has been moved into
/etc/rugix/state.toml. - The system size configuration has been moved into
/etc/rugix/bootstrapping.toml. - The output of
rugix-ctrl system infohas changed. If you integrate with Rugix Ctrl, use the new JSON output. - Updates should now be delivered as Rugix update bundles instead of system images.
- The deprecated option
--streamofrugpi-ctrl update installhas been removed. - The option
--no-reboothas been removed in favor of--reboot no.
To upgrade an existing system using Rugpi v0.7:
- Upgrade your Rugpi Bakery project to Rugix Bakery.
- Build an image.
- Deploy the image as an update as usual.
If you are using U-Boot on Raspberry Pi, make sure to add the rpi-uboot-setup.
Rugix Bakery
You first need to update to the latest version of the run-bakery script:
curl -sfSO https://raw.githubusercontent.com/silitics/rugix/v0.8/bakery/run-bakery && chmod +x ./run-bakery
- The
imagessection inrugpi-bakery.tomlhas been superseded by asystemssection inrugix-bakery.toml. - The environment variable
RUGPI_BUNDLE_DIRhas been renamed toRUGIX_LAYER_DIR.