Skip to content

beatrubi/beatrubi.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEB 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 very basic Debian repo, not using a pool/ directory and Release files with GPG signatures.

ARCH="`dpkg --print-architecture`"

mkdir -p dists/main/local/binary-$ARCH
mkdir -p dists/main/local/source

Move binary packages to binary-$ARCH and sources to source.

dpkg-scanpackages dists/main/local/binary-$ARCH /dev/null \
  | gzip -9 \
  > dists/main/local/binary-$ARCH/Packages.gz

dpkg-scansources dists/main/local/source \
  | gzip -9 \
  > dists/main/local/source/Sources.gz

RPM build and YUM repo

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 .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages