Manage rpm packages on a device using thin-edge.io software management plugin api.
Technical summary
The following details the technical aspects of the plugin to get an idea what systems it supports.
Languages | shell (posix compatible) |
CPU Architectures | all/noarch . Not CPU specific |
Supported init systems | N/A |
Required Dependencies | dnf or microdnf or zypper |
Optional Dependencies (feature specific) | - |
The following linux package formats are provided on the releases page and also in the tedge-community repository:
Operating System | Repository link |
---|---|
RHEL/CentOS/Fedora/openSUSE |
- The following software management plugins which is called when installing and removing
rpm
packages via Cumulocity IoTrpm
- Manage (list/install/remove) packages via an RPM base Package Manager (e.g. dnf/microdnf/zypper)
The following packages are required to use the plugin:
- dnf or microdnf or zypper
The following tools are requires for local development. Please install them before following the instructions:
- nfpm - Tool to build linux packages
- go-c8y-cli - A Cumulocity IoT CLI app
- c8y-tedge extension - go-c8y-cli extension for thin-edge.io to help with bootstrapping
-
Build the tedge-rpm-plugin package
just build
-
Start the demo
just up
-
Activate your Cumulocity IoT session in go-c8y-cli where you want to bootstrap the device to
set-session
set-session
is part of go-c8y-cli, check out the documentation for instructions on how to install and create your session if you don't already have one. -
Bootstrap the device
just bootstrap
The bootstrap command used the c8y-tedge extension.
just down