Apt Backports TTNN » Historique » Version 4
Mehdi Abaakouk, 13/12/2015 18:55
1 | 1 | Mehdi Abaakouk | h1. Apt Backports TTNN |
---|---|---|---|
2 | 1 | Mehdi Abaakouk | |
3 | 1 | Mehdi Abaakouk | h2. Backport example de attic: |
4 | 1 | Mehdi Abaakouk | |
5 | 2 | Mehdi Abaakouk | <pre> |
6 | 1 | Mehdi Abaakouk | # dget http://http.debian.net/debian/pool/main/a/attic/attic_0.16-2.dsc |
7 | 1 | Mehdi Abaakouk | # dpkg-source -x attic_0.16-2.dsc |
8 | 1 | Mehdi Abaakouk | # cd attic_0.16 |
9 | 1 | Mehdi Abaakouk | # dch -i |
10 | 1 | Mehdi Abaakouk | Ajouter ttnn1 à la version.. |
11 | 1 | Mehdi Abaakouk | # debuild |
12 | 1 | Mehdi Abaakouk | |
13 | 1 | Mehdi Abaakouk | # cd - |
14 | 1 | Mehdi Abaakouk | # aptly repo add ttnn-jessie *.dsc |
15 | 1 | Mehdi Abaakouk | Loading packages... |
16 | 1 | Mehdi Abaakouk | [+] attic_0.16-2_source added |
17 | 1 | Mehdi Abaakouk | # aptly repo add ttnn-jessie *.deb |
18 | 1 | Mehdi Abaakouk | Loading packages... |
19 | 1 | Mehdi Abaakouk | [+] attic_0.16-2_amd64 added |
20 | 1 | Mehdi Abaakouk | |
21 | 1 | Mehdi Abaakouk | # aptly publish update ttnn-jessie |
22 | 1 | Mehdi Abaakouk | Loading packages... |
23 | 1 | Mehdi Abaakouk | Generating metadata files and linking package files... |
24 | 1 | Mehdi Abaakouk | Finalizing metadata files... |
25 | 1 | Mehdi Abaakouk | Cleaning up prefix "." components main... |
26 | 1 | Mehdi Abaakouk | |
27 | 1 | Mehdi Abaakouk | Publish for local repo ./ttnn-jessie [amd64, source] publishes {main: [ttnn-jessie]} has been successfully updated. |
28 | 2 | Mehdi Abaakouk | </pre> |
29 | 1 | Mehdi Abaakouk | |
30 | 1 | Mehdi Abaakouk | h2. Creation initial du depot |
31 | 1 | Mehdi Abaakouk | |
32 | 1 | Mehdi Abaakouk | Sur la machine puppet: |
33 | 1 | Mehdi Abaakouk | |
34 | 3 | Mehdi Abaakouk | <pre> |
35 | 1 | Mehdi Abaakouk | # cat .aptly.conf |
36 | 1 | Mehdi Abaakouk | { |
37 | 1 | Mehdi Abaakouk | "rootDir": "/var/www/aptly", |
38 | 1 | Mehdi Abaakouk | "downloadConcurrency": 4, |
39 | 1 | Mehdi Abaakouk | "downloadSpeedLimit": 0, |
40 | 1 | Mehdi Abaakouk | "architectures": [], |
41 | 1 | Mehdi Abaakouk | "dependencyFollowSuggests": false, |
42 | 1 | Mehdi Abaakouk | "dependencyFollowRecommends": false, |
43 | 1 | Mehdi Abaakouk | "dependencyFollowAllVariants": false, |
44 | 1 | Mehdi Abaakouk | "dependencyFollowSource": false, |
45 | 1 | Mehdi Abaakouk | "gpgDisableSign": true, |
46 | 1 | Mehdi Abaakouk | "gpgDisableVerify": false, |
47 | 1 | Mehdi Abaakouk | "downloadSourcePackages": false, |
48 | 1 | Mehdi Abaakouk | "ppaDistributorID": "ubuntu", |
49 | 1 | Mehdi Abaakouk | "ppaCodename": "", |
50 | 1 | Mehdi Abaakouk | "S3PublishEndpoints": {} |
51 | 1 | Mehdi Abaakouk | } |
52 | 1 | Mehdi Abaakouk | |
53 | 1 | Mehdi Abaakouk | # aptly repo create ttnn-trusty |
54 | 1 | Mehdi Abaakouk | # aptly repo create ttnn-jessie |
55 | 3 | Mehdi Abaakouk | </pre> |
56 | 1 | Mehdi Abaakouk | |
57 | 1 | Mehdi Abaakouk | /var/www/aptly est le documentroot de apache http://puppet.tetaneutral.net |