Skip to content

scripts and config files what help building a custom debian repo

Notifications You must be signed in to change notification settings

datastream/debian-repo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

== Initialize

First step

    $ git clone https://github.com/azuwis/debian-repo.git debian
    $ cd debian
    $ ./dr init

Have a look at ./pbuilderrc, edit accordingly:

    DEFAULT_DISTS="squeeze wheezy"
    DEFAULT_ARCHS="amd64 i386"
    MIRRORSITE="http://<main-debian-mirror>/debian"
    OTHERMIRROR="deb http://<your-custom-debian-repo>/debian ${DIST} main contrib non-free"

Initialize chroot environment:

    $ dr create

== Sudoers

    username    ALL = NOPASSWD: SETENV: /usr/sbin/cowbuilder

== Building

Get debian source package and unpack:

    $ dr download package_name

or

    $ dr download http://ftp.us.debian.org/.../package.dsc

Build single source package:

    $ dr build

Build multiple source packages:

    $ dr build_all path/to/source1 path/to/source2 ...

Build results can be found at ../build_*.

Update should be applied periodically using:

    $ dr update

== Workflow

    $ dr download package_name
    $ git checkout -b branch_name
    $ dr new_patch
    ... apply patch
    $ git add . && git commit
    $ dr new_patch
    $ dr new_changelog
    $ dr build
    $ dr staging
    ... test the package in repo-staging
    $ dr finish

About

scripts and config files what help building a custom debian repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%