-
Notifications
You must be signed in to change notification settings - Fork 12
/
build
97 lines (48 loc) · 2.3 KB
/
build
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
This is something that I just haven't gotten around to describing.. So I might need some feedback.. Please tell me if you hit any issues:
I have created a bootstrap script.. use it if you will, or implement manually
https://github.com/MrMEEE/awx-rpm-v2/blob/main/docs/bootstrap-build.sh
from there, use the changeversion script to change into the version you want to build:
./changeversion 24.6.1
This uses the spec files that I have created..
From here, run getsources, to fetch the source code for the python packages:
./getsources
Now that you have the sources, build the source RPMS:
./buildsrc
Now you should be ready to build all the dependencies.. run the mockbuilds:
./mockbuild
This will take quite a while..
You can check status with:
./checkbuilds
and get hints to fixing errors with:
./geterrors
when you have all the dependencies built, you have to build receptor
./generate-and-build-receptor-source <VERSION>
I have had issues build 1.4.8.. so go with 1.4.7 (or find the issue)
When receptor is built, it's finally time for generate the AWX-RPM SRPM:
./generate-awx-source
and then build it with single-mockbuild
Hope it makes sense..
This is something that I just haven't gotten around to describing.. So I might need some feedback.. Please tell me if you hit any issues:
I have created a bootstrap script.. use it if you will, or implement manually
https://github.com/MrMEEE/awx-rpm-v2/blob/main/docs/bootstrap-build.sh
from there, use the changeversion script to change into the version you want to build:
./changeversion 24.6.1
This uses the spec files that I have created..
From here, run getsources, to fetch the source code for the python packages:
./getsources
Now that you have the sources, build the source RPMS:
./buildsrc
Now you should be ready to build all the dependencies.. run the mockbuilds:
./mockbuild
This will take quite a while..
You can check status with:
./checkbuilds
and get hints to fixing errors with:
./geterrors
when you have all the dependencies built, you have to build receptor
./generate-and-build-receptor-source <VERSION>
I have had issues build 1.4.8.. so go with 1.4.7 (or find the issue)
When receptor is built, it's finally time for generate the AWX-RPM SRPM:
./generate-awx-source
and then build it with single-mockbuild
Hope it makes sense..