The system76-firmware-daemon package has a systemd service which exposes a DBUS API for handling firmware updates.
The following make targets are supported:
make all
- compile all binariesmake clean
- remove compiled binariesmake install
- install binaries and configuration filesmake uninstall
- uninstall binaries and configuration filemake vendor
- prepare source for offline compilationmake distclean
- remove prepared source and compiled binariesmake sudo make install
In order to package this, you need cargo-vendor
:
cargo install cargo-vendor
You can then run the following to create an offline-capable package:
make vendor
Now you can compile and install the package.
To clean out the vendor source, you can run this command:
make distclean