Skip to content

Instantly share code, notes, and snippets.

@dbart
Created January 18, 2024 14:45
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dbart/0ba0f991e9b86d472e28e02998fce835 to your computer and use it in GitHub Desktop.
reprepro build README
#-------------------------------------------------------------------------------
# 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