-
Notifications
You must be signed in to change notification settings - Fork 5
/
README.md.in
70 lines (57 loc) · 1.22 KB
/
README.md.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
debian-packages
===============
Custom DEB packages for the following codenames:
- **jessie**: Debian 8
- **vivid**: Ubuntu 15.04
Installing the packages
-----------------------
Install signing key:
```
wget -O - http://debian-packages.cargomedia.ch/conf/signing.key | apt-key add -
```
Add to your `sources.list`:
```
deb http://debian-packages.cargomedia.ch <codename> main
```
Available packages
------------------
$packages
Development
-----------
For signing the repo, the vagrant-provisioner will look for keys in `keys/{private,public}.key`.
Alternatively you might want to create new keys:
#### Creating a signing key
Create key:
```
gpg --gen-key
```
Export private and public key:
```
mkdir -p /vagrant/keys/
gpg --export -a 'Cargo Media' > /vagrant/keys/public.key
gpg --export-secret-key -a 'Cargo Media' > /vagrant/keys/private.key
```
#### Building a package
Start up the box and log in:
```
vagrant up <codename>
vagrant ssh <codename>
```
Bump version of a package:
```
cd /vagrant/packages/<codename>/<package>
dch -U
```
Build and test a package:
```
/vagrant/build.sh -c <codename> -p <package>
```
Recreate readme:
```
cd /vagrant && python doc.py
```
Build the repo and upload to S3:
```
sudo su
/vagrant/sync.sh
```