Index of /


Filename Last modified Size

apt

apt
- -

yum

yum
- -

DEB package build and APT repo

Build package

dpkg-source -x $pkg.dsc
cd $pkg
mk-build-deps --install debian/control
debuild -b -uc -us

Create repo

We create a flat repository, not using dist/ or pool/ directories and Release files with GPG signatures.
dpkg-scanpackages . /dev/null \
  | gzip -9 > Packages.gz

dpkg-scansources . \
  | gzip -9 > Sources.gz

RPM package build and YUM repo index

Build package

rpm -i $pgk.srpm
rpmbuild -ba --clean SPECS/$pkg.spec
We skip the step of signing the package for now.

Create repo

createrepo .

Beat Rubischon <beat@0x1b.ch>