Projet

Général

Profil

Apt Backports TTNN » Historique » Version 1

Version 1/8 - Suivant » - Version actuelle
Mehdi Abaakouk, 13/12/2015 18:46


Apt Backports TTNN

Backport example de attic:

  1. dget http://http.debian.net/debian/pool/main/a/attic/attic_0.16-2.dsc
  2. dpkg-source -x attic_0.16-2.dsc
  3. cd attic_0.16
  4. dch -i
    Ajouter ttnn1 à la version..
  5. debuild
  1. cd -
  2. aptly repo add ttnn-jessie *.dsc
    Loading packages...
    [+] attic_0.16-2_source added
  3. aptly repo add ttnn-jessie *.deb
    Loading packages...
    [+] attic_0.16-2_amd64 added
  1. aptly publish -distribution ttnn-jessie -skip-signing=true repo ttnn-jessie
    Loading packages...
    Generating metadata files and linking package files...
    Finalizing metadata files...

Local repo ttnn-jessie has been successfully published.
Please setup your webserver to serve directory '/var/www/aptly/public' with autoindexing.
Now you can add following line to apt sources:
deb http://your-server/ ttnn-jessie main
deb-src http://your-server/ ttnn-jessie main
Don't forget to add your GPG key to apt with apt-key.

You can also use `aptly serve` to publish your repositories over HTTP quickly.

  1. aptly publish update ttnn-jessie
    Loading packages...
    Generating metadata files and linking package files...
    Finalizing metadata files...
    Cleaning up prefix "." components main...

Publish for local repo ./ttnn-jessie [amd64, source] publishes {main: [ttnn-jessie]} has been successfully updated.

Creation initial du depot

Sur la machine puppet:

  1. cat .aptly.conf {
    "rootDir": "/var/www/aptly",
    "downloadConcurrency": 4,
    "downloadSpeedLimit": 0,
    "architectures": [],
    "dependencyFollowSuggests": false,
    "dependencyFollowRecommends": false,
    "dependencyFollowAllVariants": false,
    "dependencyFollowSource": false,
    "gpgDisableSign": true,
    "gpgDisableVerify": false,
    "downloadSourcePackages": false,
    "ppaDistributorID": "ubuntu",
    "ppaCodename": "",
    "S3PublishEndpoints": {}
    }
  1. aptly repo create ttnn-trusty
  2. aptly repo create ttnn-jessie

/var/www/aptly est le documentroot de apache http://puppet.tetaneutral.net