-
Notifications
You must be signed in to change notification settings - Fork 119
/
README.source
51 lines (28 loc) · 1.17 KB
/
README.source
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
subscription-manager for Debian
------------------------------
Required packages for build
---------------------------
* build-essentials
* devscripts (for dch)
* equivs (for mk-build-deps)
Steps before build
------------------
Copy debian-directory into the source root
cp -r contrib/debian .
Adapt package-version (new version)..
dch -v <new-version>
..or just increase release-number
dch -i
Install dependencies
--------------------
Create and install meta-package that pulls in the required build-dependencies:
mk-build-deps debian/control
apt install ./subscription-manager-build-deps-*.deb
The apt is able to install local deb-packages starting with version 1.1
Build package
-------------
Build the binary package (the resulting package files can be found in the parent-directory of the source-root-directory):
dpkg-buildpackage -b
For additional information about debian package building please refer to the debian developer manuals (https://www.debian.org/doc/devel-manuals).
Debian packaging manuals can also be installed locally through debian packages (e.g. 'debian-policy')
-- Markus Bucher <[email protected]> Tue, 24 Mar 2020 14:37:36 +0100