/reprepro-README.sh Secret
Created
January 18, 2024 14:45
Star
You must be signed in to star a gist
reprepro build README
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #------------------------------------------------------------------------------- | |
| # For creating our Debian & Ubuntu repositories, we use a custom version of the | |
| # reprepro tool to create and manage our repositories. This custom version adds | |
| # support for multiple versions of packages in our repositories and support for | |
| # ddeb files. | |
| # | |
| # This README documents the steps I used to compile and install it. | |
| #------------------------------------------------------------------------------- | |
| # Compile steps for reprepro | |
| cd ~/src/ | |
| git clone git@github.com:ionos-enterprise/reprepro.git | |
| cd reprepro/ | |
| git pull -v | |
| cd .. | |
| cp -avi reprepro reprepro-build | |
| cd reprepro-build/ | |
| ./configure | |
| make | |
| sudo touch /usr/local/reprepro.files | |
| sudo find /usr/local -type f >old | |
| sudo make install | |
| diff -e old <(sudo find /usr/local/ -type f)|grep /|sort > reprepro.files | |
| sudo cp -v reprepro.files /usr/local/ | |
| view /usr/local/reprepro.files | |
| tar -cvjf reprepro-${HOSTNAME}-amd64.tar.bz2 -T /usr/local/reprepro.files | |
| tar -tf reprepro-${HOSTNAME}-amd64.tar.bz2 | |
| # After installing I added the following two lines to ubuntu/conf/distributions | |
| # entries for both bionic and disco: | |
| : <<'END_distributions_update' | |
| DDebComponents: main | |
| Limit: 3 | |
| END_distributions_update | |
| # These should also be added to Ubuntu dists going forward from those |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment