Apt Backports TTNN » Historique » Version 8
Skuld Skuld, 20/07/2017 21:28
1 | 1 | Mehdi Abaakouk | h1. Apt Backports TTNN |
---|---|---|---|
2 | 1 | Mehdi Abaakouk | |
3 | 6 | Mehdi Abaakouk | h2. Backport example de borgbackup: |
4 | 1 | Mehdi Abaakouk | |
5 | 2 | Mehdi Abaakouk | <pre> |
6 | 6 | Mehdi Abaakouk | # dget http://http.debian.net/debian/pool/main/b/borgbackup/borgbackup_0.28.2-2.dsc |
7 | 6 | Mehdi Abaakouk | # dpkg-source -x borgbackup_0.28.2-2.dsc |
8 | 6 | Mehdi Abaakouk | # cd borgbackup_0.28.2 |
9 | 1 | Mehdi Abaakouk | # dch -i |
10 | 6 | Mehdi Abaakouk | Ajouter ttnn1 à la version (ubuntu1ttnn1 pour ubuntu), faire d'autre modification si besoin... |
11 | 1 | Mehdi Abaakouk | # debuild |
12 | 6 | Mehdi Abaakouk | </pre> |
13 | 1 | Mehdi Abaakouk | |
14 | 6 | Mehdi Abaakouk | Génération du debdiff |
15 | 6 | Mehdi Abaakouk | <pre> |
16 | 6 | Mehdi Abaakouk | debdiff borgbackup_0.28.2-2.dsc borgbackup_0.28.2-2ttnn2.dsc > borgbackup-backports-jessie.debdiff |
17 | 6 | Mehdi Abaakouk | </pre> |
18 | 6 | Mehdi Abaakouk | |
19 | 7 | Mehdi Abaakouk | L'attacher à cette page au cas ou. |
20 | 7 | Mehdi Abaakouk | |
21 | 6 | Mehdi Abaakouk | h2. Ajout de package au repo debian tetaneutral |
22 | 6 | Mehdi Abaakouk | |
23 | 6 | Mehdi Abaakouk | Copier les fichiers *.tar.* *.dsc *.deb sur la machine puppet dans: |
24 | 6 | Mehdi Abaakouk | |
25 | 6 | Mehdi Abaakouk | /root/aptly_packages_import/<packagename>-<distrib> (example: /root/aptly_packages_import/borg-jessie) |
26 | 6 | Mehdi Abaakouk | |
27 | 6 | Mehdi Abaakouk | Ajout les sources et binaires à aptly: |
28 | 6 | Mehdi Abaakouk | |
29 | 6 | Mehdi Abaakouk | <pre> |
30 | 1 | Mehdi Abaakouk | # aptly repo add ttnn-jessie *.dsc |
31 | 1 | Mehdi Abaakouk | Loading packages... |
32 | 1 | Mehdi Abaakouk | [+] attic_0.16-2_source added |
33 | 1 | Mehdi Abaakouk | # aptly repo add ttnn-jessie *.deb |
34 | 1 | Mehdi Abaakouk | Loading packages... |
35 | 1 | Mehdi Abaakouk | [+] attic_0.16-2_amd64 added |
36 | 1 | Mehdi Abaakouk | |
37 | 1 | Mehdi Abaakouk | # aptly publish update ttnn-jessie |
38 | 1 | Mehdi Abaakouk | Loading packages... |
39 | 1 | Mehdi Abaakouk | Generating metadata files and linking package files... |
40 | 1 | Mehdi Abaakouk | Finalizing metadata files... |
41 | 1 | Mehdi Abaakouk | Cleaning up prefix "." components main... |
42 | 1 | Mehdi Abaakouk | |
43 | 1 | Mehdi Abaakouk | Publish for local repo ./ttnn-jessie [amd64, source] publishes {main: [ttnn-jessie]} has been successfully updated. |
44 | 2 | Mehdi Abaakouk | </pre> |
45 | 1 | Mehdi Abaakouk | |
46 | 1 | Mehdi Abaakouk | h2. Creation initial du depot |
47 | 1 | Mehdi Abaakouk | |
48 | 1 | Mehdi Abaakouk | Sur la machine puppet: |
49 | 1 | Mehdi Abaakouk | |
50 | 3 | Mehdi Abaakouk | <pre> |
51 | 1 | Mehdi Abaakouk | # cat .aptly.conf |
52 | 1 | Mehdi Abaakouk | { |
53 | 1 | Mehdi Abaakouk | "rootDir": "/var/www/aptly", |
54 | 1 | Mehdi Abaakouk | "downloadConcurrency": 4, |
55 | 1 | Mehdi Abaakouk | "downloadSpeedLimit": 0, |
56 | 1 | Mehdi Abaakouk | "architectures": [], |
57 | 1 | Mehdi Abaakouk | "dependencyFollowSuggests": false, |
58 | 1 | Mehdi Abaakouk | "dependencyFollowRecommends": false, |
59 | 1 | Mehdi Abaakouk | "dependencyFollowAllVariants": false, |
60 | 1 | Mehdi Abaakouk | "dependencyFollowSource": false, |
61 | 1 | Mehdi Abaakouk | "gpgDisableSign": true, |
62 | 1 | Mehdi Abaakouk | "gpgDisableVerify": false, |
63 | 1 | Mehdi Abaakouk | "downloadSourcePackages": false, |
64 | 1 | Mehdi Abaakouk | "ppaDistributorID": "ubuntu", |
65 | 1 | Mehdi Abaakouk | "ppaCodename": "", |
66 | 1 | Mehdi Abaakouk | "S3PublishEndpoints": {} |
67 | 1 | Mehdi Abaakouk | } |
68 | 1 | Mehdi Abaakouk | |
69 | 1 | Mehdi Abaakouk | # aptly repo create ttnn-trusty |
70 | 5 | Mehdi Abaakouk | # aptly publish -distribution ttnn-trusty -skip-signing=true repo ttnn-trusty |
71 | 1 | Mehdi Abaakouk | # aptly repo create ttnn-jessie |
72 | 5 | Mehdi Abaakouk | # aptly publish -distribution ttnn-jessie -skip-signing=true repo ttnn-jessie |
73 | 3 | Mehdi Abaakouk | </pre> |
74 | 5 | Mehdi Abaakouk | |
75 | 1 | Mehdi Abaakouk | |
76 | 1 | Mehdi Abaakouk | /var/www/aptly est le documentroot de apache http://puppet.tetaneutral.net |