This script rebuilds Kolide Linux packages for deployment within Exotic Linux Environments such as:
- arm64 (deb, rpm, apk, pacman)
- Fedora Universal Blue [SilverBlue, Bluefin, etc] (rpm)
- Chainguard OS, Wolfi [apk]
This tool works by:
- Extracting the per-user and domain configuration out of
/etc/kolide-k2/secrets
held within the Kolide-generated RPM - Patches Kolide and its dependencies to support alternative Linux environments.
- Builds a fresh Kolide launcher package just for you
- Contact the @Kolide bot on Slack
- Click
Enroll your device
- For the
Choose an installation package
dialog, selectLinux (rpm)
- Download the RPM that the Kolide bot generates for you.
- Run
./rebuild.sh /path/to/downloaded.rpm
- Follow the instructions to install the resulting rebuilt package
- Login to a website protected by Kolide Device Trust
- When prompted to "Install Kolide to complete verification", click
CentOS (kolide.rpm)
- Run
./rebuild.sh /path/to/downloaded.rpm
- Follow the instructions to install the resulting rebuilt package
- Go v1.21 or higher to rebuild the launcher
- Podman or Docker
- GNU patch
- GNU make
- rpm2cpio (to process RPM files)
- Upstreaming all patches
- Cloud Run application to streamline the conversion process