Projet

Général

Profil

Apt Backports TTNN » Historique » Version 4

« Précédent - Version 4/8 (diff) - Suivant » - Version actuelle
Mehdi Abaakouk, 13/12/2015 18:55


Apt Backports TTNN

Backport example de attic:

# dget http://http.debian.net/debian/pool/main/a/attic/attic_0.16-2.dsc
# dpkg-source -x attic_0.16-2.dsc
# cd attic_0.16
# dch -i 
Ajouter ttnn1 à la version..
# debuild

# cd -
# aptly repo add ttnn-jessie *.dsc
Loading packages...
[+] attic_0.16-2_source added
# aptly repo add ttnn-jessie *.deb
Loading packages...
[+] attic_0.16-2_amd64 added

# 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:

# 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": {}
}

# aptly repo create ttnn-trusty
# aptly repo create ttnn-jessie

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