forked from rackerlabs/auter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildGuide.txt
29 lines (22 loc) · 909 Bytes
/
buildGuide.txt
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
Steps to build .deb from auter source:
1) Build a debian 9 cloud server
2) Update the system and reboot:
# apt-get update && apt-get upgrade
# reboot
3) Install the required tools:
# apt-get update && apt install debhelper devscripts build-essential vim dh-make help2man
4) Create a build user and switch to that account
# adduser builder <-- Note 'adduser' NOT 'useradd' <<-- Use a valid password but the other details can be blanks
# su - builder
5) Clone the auter repo and switch to the required tagged version:
# git clone git@github.com:rackerlabs/auter.git
# cd auter
# git checkout <TAG> eg: git checkout 0.11
6) Make the sources files
# make deb
# cd auter-<TAG>
7) build the package:
7.a) To build an unsigned package:
# debuild -us -uc
7.b) To build a gpg signed package:
# debuild -S -sa -k$(gpg --list-key --with-colons | awk -F: '/^pub:/ { print $5 }')