From c245f996d0e1e2e3f25e1257a26900f30a66d757 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 7 Aug 2022 11:53:27 +0200 Subject: [PATCH] Add tip regarding including a custom .deb in our repo --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 70c819b..37f265a 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,21 @@ The build chain relies on `sbuild`, a wrapper tool for building the `.deb`, and 5. ??? 6. PROFIT! +Including a .deb from an external source +---------------------------------------- + +For example with rspamd : + +1. Obtain the .deb from some other source (possibly for different architectures) + +2. Include it in the repo (tweak the `--component`, `--architecture`, distname, ... if needed) + +``` +reprepro --component testing --architecture armhf -Vb /var/www/repo/debian includedeb bullseye remote-deb/rspamd_3.2-1~bpo11+1_armhf.deb +reprepro --component testing --architecture arm64 -Vb /var/www/repo/debian includedeb bullseye remote-deb/rspamd_3.2-1~bpo11+1_arm64.deb +reprepro --component testing --architecture amd64 -Vb /var/www/repo/debian includedeb bullseye remote-deb/rspamd_3.2-1~bpo11+1_amd64.deb +reprepro --component testing --architecture i386 -Vb /var/www/repo/debian includedeb bullseye remote-deb/rspamd_3.2-1~bpo11+1_i386.deb +``` Troubleshooting ---------------