- Build reprepro with multi-version support
- sudo apt-get install gnupg gnupg2 gnupg-agent createrepo yum-utils libexpect-perl pinentry-tty
- sudo apt-get remove reprepro
- sudo dpkg -i ./reprepro_*_amd64.deb
- Go to an appropriate UBUNTU development box (OS should be same as the final deployment box)
- sudo apt install libdb-dev libbz2-dev liblzma-dev libarchive-dev shunit2 db-util libgpgme11-dev dpkg-dev debhelper dh-autoreconf dh-make build-essential zlib1g-dev realpath
- git clone https://github.com/profitbricks/reprepro.git
- cd reprepro
- dpkg-buildpackage -d -b -uc -us
- scp ../reprepro_*_amd64.deb root@destination:
- You may require to patch some files manually if they are not working: sed -i -e '/^REPREPRO/s@[(].[)]@(CDPATH= cd "${0%/}/.." && pwd)@g' tests/shunit2-helper-functions.sh
/path/../zm-repo-tool/repo.pl
--repo-name D1
--create-distro
--package ./Z/u16/D1/870/zmb1-abc-svc*.deb
--os=UBUNTU16
/path/../zm-repo-tool/repo.pl
--repo-name D1
--create-distro
--package ./Z/r7/D1/870/zmb1-abc-svc*.rpm
--os=RHEL7