If there is one thing that the YoloCloud is made out of, is Yoloed things.
In the very beginning, one of the needs I had was distributing a Debian package to my Debian hosts containing a couple of custom monitoring checks as well as a backported version of Strongswan together with the required libs.
Aptly and Reprepro do a good job at managing repositories, but were way overkill for my simple need of distributing a few packages.
I slapped together a quick and dirty solution based off of some random scripts that I found on the Internet.
You need to create a GPG key to sign the Release file in the repository.
|
|
The script is pretty self-explanatory. Put your packages into
pool/<repo_name>
and the script takes care of the rest.
The conf file only has some APT metadata related to the repository:
APT::FTPArchive::Release::Codename "monitoring";
APT::FTPArchive::Release::Components "main";
APT::FTPArchive::Release::Label "AS209114 Monitoring Repository";
APT::FTPArchive::Release::Architectures "amd64";
This should get you started with a barebones repository.