1 |
commit: 8aca038fbe13cba651d3c028ddf66cf5eb949619 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 29 13:40:54 2021 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 29 13:54:39 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/releng.git/commit/?id=8aca038f |
7 |
|
8 |
Copy catalyst-auto arm config for native builds on jiji |
9 |
|
10 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
11 |
|
12 |
tools/catalyst-auto-arm.conf | 106 +++++++++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 106 insertions(+) |
14 |
|
15 |
diff --git a/tools/catalyst-auto-arm.conf b/tools/catalyst-auto-arm.conf |
16 |
new file mode 100644 |
17 |
index 00000000..643fd258 |
18 |
--- /dev/null |
19 |
+++ b/tools/catalyst-auto-arm.conf |
20 |
@@ -0,0 +1,106 @@ |
21 |
+# This is the config file for the catalyst-auto script. It should be pretty |
22 |
+# self-explanatory. |
23 |
+ |
24 |
+UPLOAD_USER=arm |
25 |
+UPLOAD_KEY=/root/.ssh/id_rsa |
26 |
+ |
27 |
+host=$(hostname) |
28 |
+ |
29 |
+SPECS_DIR=${REPO_DIR}/releases/specs/arm |
30 |
+ |
31 |
+EMAIL_SUBJECT_PREPEND="[arm-auto]" |
32 |
+ |
33 |
+SETS=" |
34 |
+ armv4tl |
35 |
+ armv5tel |
36 |
+ armv6j_hf |
37 |
+ armv6j_sf |
38 |
+ armv7a_hf |
39 |
+ armv7a_sf |
40 |
+ armv4tl_systemd |
41 |
+ armv5tel_systemd |
42 |
+ armv6j_hf_systemd |
43 |
+ armv6j_sf_systemd |
44 |
+ armv7a_hf_systemd |
45 |
+ armv7a_sf_systemd |
46 |
+" |
47 |
+ |
48 |
+SET_armv4tl_SPECS="armv4tl/stage1.spec armv4tl/stage3.spec" |
49 |
+SET_armv4tl_systemd_SPECS="armv4tl/stage1-systemd.spec armv4tl/stage3-systemd.spec" |
50 |
+ |
51 |
+SET_armv5tel_SPECS="armv5tel/stage1.spec armv5tel/stage3.spec" |
52 |
+SET_armv5tel_systemd_SPECS="armv5tel/stage1-systemd.spec armv5tel/stage3-systemd.spec" |
53 |
+ |
54 |
+SET_armv6j_hf_SPECS="armv6j/stage1-hardfloat.spec armv6j/stage3-hardfloat.spec" |
55 |
+SET_armv6j_sf_SPECS="armv6j/stage1.spec armv6j/stage3.spec" |
56 |
+SET_armv6j_hf_systemd_SPECS="armv6j/stage1-hardfloat-systemd.spec armv6j/stage3-hardfloat-systemd.spec" |
57 |
+SET_armv6j_sf_systemd_SPECS="armv6j/stage1-systemd.spec armv6j/stage3-systemd.spec" |
58 |
+ |
59 |
+SET_armv7a_hf_SPECS="armv7a/stage1-hardfloat.spec armv7a/stage3-hardfloat.spec" |
60 |
+SET_armv7a_sf_SPECS="armv7a/stage1.spec armv7a/stage3.spec" |
61 |
+SET_armv7a_hf_systemd_SPECS="armv7a/stage1-hardfloat-systemd.spec armv7a/stage3-hardfloat-systemd.spec" |
62 |
+SET_armv7a_sf_systemd_SPECS="armv7a/stage1-systemd.spec armv7a/stage3-systemd.spec" |
63 |
+ |
64 |
+ |
65 |
+update_symlinks() { |
66 |
+ # Symlink the latest stages3 to build from |
67 |
+ local d f |
68 |
+ for d in "${BUILD_SRCDIR_BASE}/builds/default" ; do |
69 |
+ pushd "${d}" >/dev/null |
70 |
+ for f in $(ls stage3*xz | grep -v latest | give_latest_from_dates) ; do |
71 |
+ local of=$(echo "${f}" | convert_filename) |
72 |
+ ln -sf "${f}" "${of}" |
73 |
+ done |
74 |
+ popd >/dev/null |
75 |
+ done |
76 |
+} |
77 |
+ |
78 |
+post_build() { |
79 |
+ local set=$1 spec=$2 |
80 |
+ |
81 |
+ pushd "${BUILD_SRCDIR_BASE}/builds/default" >/dev/null |
82 |
+ |
83 |
+ case ${spec} in |
84 |
+ armv4tl/stage3.spec) |
85 |
+ upload stage3-armv4tl-${TIMESTAMP}*.xz* |
86 |
+ ;; |
87 |
+ armv4tl/stage3-systemd.spec) |
88 |
+ upload stage3-armv4tl-systemd-${TIMESTAMP}*.xz* |
89 |
+ ;; |
90 |
+ armv5tel/stage3.spec) |
91 |
+ upload stage3-armv5tel-${TIMESTAMP}*.xz* |
92 |
+ ;; |
93 |
+ armv5tel/stage3-systemd.spec) |
94 |
+ upload stage3-armv5tel-systemd-${TIMESTAMP}*.xz* |
95 |
+ ;; |
96 |
+ armv6j/stage3.spec) |
97 |
+ upload stage3-armv6j-${TIMESTAMP}*.xz* |
98 |
+ ;; |
99 |
+ armv6j/stage3-systemd.spec) |
100 |
+ upload stage3-armv6j-systemd-${TIMESTAMP}*.xz* |
101 |
+ ;; |
102 |
+ armv6j/stage3-hardfloat.spec) |
103 |
+ upload stage3-armv6j_hardfp-${TIMESTAMP}*.xz* |
104 |
+ ;; |
105 |
+ armv6j/stage3-hardfloat-systemd.spec) |
106 |
+ upload stage3-armv6j_hardfp-systemd-${TIMESTAMP}*.xz* |
107 |
+ ;; |
108 |
+ armv7a/stage3.spec) |
109 |
+ upload stage3-armv7a-${TIMESTAMP}*.xz* |
110 |
+ ;; |
111 |
+ armv7a/stage3-systemd.spec) |
112 |
+ upload stage3-armv7a-systemd-${TIMESTAMP}*.xz* |
113 |
+ ;; |
114 |
+ armv7a/stage3-hardfloat.spec) |
115 |
+ upload stage3-armv7a_hardfp-${TIMESTAMP}*.xz* |
116 |
+ ;; |
117 |
+ armv7a/stage3-hardfloat-systemd.spec) |
118 |
+ upload stage3-armv7a_hardfp-systemd-${TIMESTAMP}*.xz* |
119 |
+ ;; |
120 |
+ *) |
121 |
+ echo "Finished ${spec}" |
122 |
+ ;; |
123 |
+ esac |
124 |
+ |
125 |
+ popd >/dev/null |
126 |
+} |