This script rebuilds a Kolide RPM for deployment on Fedora Silverblue.
- Go v1.21 or higher to rebuild the launcher
- podman or docker
- GNU
patch
- Talk to the @Kolide Slack bot to
- "Enroll a Device" via the @Kolide Slack bot, selecting the
RPM Linux (.rpm)
installation package. - Download the RPM file that @Kolide sends via Slack
- Run
./rebuild.sh <path to downloaded RPM>
- Get coffee while the script runs
To install the resulting RPM on Fedora SilverBlue, run:
rpm-ostree install </path/to/kolide-launcher.rpm>
sudo rpm-ostree apply-live
systemctl enable --now launcher.kolide-k2
To uninstall the custom package, run:
sudo rpm-ostree uninstall launcher-kolide-k2
This script automates the following steps:
- Checks out https://github.com/kolide/launcher
- Patches launcher with:
- Extracts configuration details from the RPM you provided
- Builds a new RPM
Autoupdates are not enabled, as this may result in Kolide sending you an incompatible launcher in the future. Hopefully Kolide will natively support Fedora SilverBlue soon so that this hack is unnecessary in the near future.
Be sure to mention to Kolide's support team that you would like native support for immutable Linux distrubitons such as Fedora SilverBlue!